send a message will also be noted as activity
This commit is contained in:
@@ -539,6 +539,7 @@ Wt::WContainerWidget* App::createSmileyBar(Wt::WContainerWidget* parent, Wt::WLi
|
|||||||
}
|
}
|
||||||
|
|
||||||
Wt::WPushButton* App::createSendButton(Wt::WHBoxLayout* inputLayout, Wt::WLineEdit* inputLine) {
|
Wt::WPushButton* App::createSendButton(Wt::WHBoxLayout* inputLayout, Wt::WLineEdit* inputLine) {
|
||||||
|
setActivity();
|
||||||
auto sendButton = inputLayout->addNew<Wt::WPushButton>("Send");
|
auto sendButton = inputLayout->addNew<Wt::WPushButton>("Send");
|
||||||
auto sendMessageFunction = [=, this]() {
|
auto sendMessageFunction = [=, this]() {
|
||||||
sendMessage(inputLine);
|
sendMessage(inputLine);
|
||||||
|
|||||||
Reference in New Issue
Block a user