diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-05-31 18:11:54 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-05-31 18:11:54 (GMT) |
commit | ce9b4d1865df52497cf0d336efe0de3d1dbb7dec (patch) | |
tree | c8822916a2b6d43b158c00065f038e778c206336 /Swift/Controllers/Chat/ChatsManager.cpp | |
parent | 6aeb44a905b0c1955ea3afe4ea2025370544e699 (diff) | |
download | swift-contrib-ce9b4d1865df52497cf0d336efe0de3d1dbb7dec.zip swift-contrib-ce9b4d1865df52497cf0d336efe0de3d1dbb7dec.tar.bz2 |
Better MUC inviting
Diffstat (limited to 'Swift/Controllers/Chat/ChatsManager.cpp')
-rw-r--r-- | Swift/Controllers/Chat/ChatsManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatsManager.cpp b/Swift/Controllers/Chat/ChatsManager.cpp index da96603..4fc3752 100644 --- a/Swift/Controllers/Chat/ChatsManager.cpp +++ b/Swift/Controllers/Chat/ChatsManager.cpp @@ -585,7 +585,7 @@ void ChatsManager::handleJoinMUCRequest(const JID &mucJID, const boost::optional if (createAsReservedIfNew) { muc->setCreateAsReservedIfNew(); } - MUCController* controller = new MUCController(jid_, muc, password, nick, stanzaChannel_, iqRouter_, chatWindowFactory_, presenceOracle_, avatarManager_, uiEventStream_, false, timerFactory_, eventController_, entityCapsProvider_); + MUCController* controller = new MUCController(jid_, muc, password, nick, stanzaChannel_, iqRouter_, chatWindowFactory_, presenceOracle_, avatarManager_, uiEventStream_, false, timerFactory_, eventController_, entityCapsProvider_, roster_); mucControllers_[mucJID] = controller; controller->setAvailableServerFeatures(serverDiscoInfo_); controller->onUserLeft.connect(boost::bind(&ChatsManager::handleUserLeftMUC, this, controller)); |