diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-07-09 19:00:30 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-07-09 19:00:30 (GMT) |
commit | 3e154a0c3eae309acecdfe7524cfe1e1ca95386a (patch) | |
tree | f118f8cdb62494370d93ac743cde92a02360b586 /Swift/Controllers/Chat/ChatsManager.cpp | |
parent | 26ac55fc087fb49abbdd164e125e41207e66f9fd (diff) | |
download | swift-contrib-3e154a0c3eae309acecdfe7524cfe1e1ca95386a.zip swift-contrib-3e154a0c3eae309acecdfe7524cfe1e1ca95386a.tar.bz2 |
Track when a user joins a MUC for the ChatList
Diffstat (limited to 'Swift/Controllers/Chat/ChatsManager.cpp')
-rw-r--r-- | Swift/Controllers/Chat/ChatsManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatsManager.cpp b/Swift/Controllers/Chat/ChatsManager.cpp index 2d365a0..4c43a89 100644 --- a/Swift/Controllers/Chat/ChatsManager.cpp +++ b/Swift/Controllers/Chat/ChatsManager.cpp @@ -478,6 +478,7 @@ void ChatsManager::handleJoinMUCRequest(const JID &mucJID, const boost::optional mucControllers_[mucJID] = controller; controller->setAvailableServerFeatures(serverDiscoInfo_); controller->onUserLeft.connect(boost::bind(&ChatsManager::handleUserLeftMUC, this, controller)); + controller->onUserJoined.connect(boost::bind(&ChatsManager::handleChatActivity, this, mucJID.toBare(), "", true)); controller->onActivity.connect(boost::bind(&ChatsManager::handleChatActivity, this, mucJID.toBare(), _1, true)); controller->onUnreadCountChanged.connect(boost::bind(&ChatsManager::handleUnreadCountChanged, this, controller)); handleChatActivity(mucJID.toBare(), "", true); |