diff options
author | Thanos Doukoudakis <thanos.doukoudakis@isode.com> | 2018-02-16 16:33:30 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2018-02-26 09:03:16 (GMT) |
commit | bd4115c0db3d898d7de0944d340a9a2f1de4938c (patch) | |
tree | 46d59adbf15dcac4a63b253b88959a024fe348fb /Swift/Controllers/Chat/ChatController.cpp | |
parent | 7a9c3d136e8d5be70869950489036b665c462294 (diff) | |
download | swift-bd4115c0db3d898d7de0944d340a9a2f1de4938c.zip swift-bd4115c0db3d898d7de0944d340a9a2f1de4938c.tar.bz2 |
Make carbons messages update ‘Recents’ list
This patch fixeses an issue that occurred when sending a message from
another device, the carbons messages were displayed on the chat window but
were not updating the recents chats list.
Test-Information:
Tested by logging in from two clients from the same account, and starting
a 1-1 chat with another user. Recent chats tab was updated to both
clients.
Change-Id: I6e961ebbde6a87e4bcbcc49941ab4bacbac4d9d9
Diffstat (limited to 'Swift/Controllers/Chat/ChatController.cpp')
-rw-r--r-- | Swift/Controllers/Chat/ChatController.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatController.cpp b/Swift/Controllers/Chat/ChatController.cpp index a8ffaf4..40f6156 100644 --- a/Swift/Controllers/Chat/ChatController.cpp +++ b/Swift/Controllers/Chat/ChatController.cpp @@ -320,6 +320,7 @@ void ChatController::handleIncomingOwnMessage(std::shared_ptr<Message> message) if (!message->getBody().get_value_or("").empty()) { postSendMessage(message->getBody().get_value_or(""), message); handleStanzaAcked(message); + onActivity(message->getBody().get_value_or("")); } } |