summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-05 19:15:02 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-05 19:15:02 (GMT)
commit90eab2990dc087ebe2b91181f14ca452e5b31697 (patch)
tree7e264a796dad34bb55a79de81bed9e0bb4768573 /Swift/Controllers/Chat/ChatsManager.cpp
parentc88b7c5da8dde6c4f7bdd85743378ec46f3a30fc (diff)
downloadswift-90eab2990dc087ebe2b91181f14ca452e5b31697.zip
swift-90eab2990dc087ebe2b91181f14ca452e5b31697.tar.bz2
Allow opening chats to MUC occupants.
Resolves: #275
Diffstat (limited to 'Swift/Controllers/Chat/ChatsManager.cpp')
-rw-r--r--Swift/Controllers/Chat/ChatsManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatsManager.cpp b/Swift/Controllers/Chat/ChatsManager.cpp
index 8311726..8c49cd6 100644
--- a/Swift/Controllers/Chat/ChatsManager.cpp
+++ b/Swift/Controllers/Chat/ChatsManager.cpp
@@ -167,7 +167,7 @@ void ChatsManager::handleJoinMUCRequest(const JID &muc, const String &nick) {
if (it != mucControllers_.end()) {
//FIXME: What's correct behaviour here?
} else {
- MUCController* controller = new MUCController(jid_, muc, nick, stanzaChannel_, presenceSender_, iqRouter_, chatWindowFactory_, treeWidgetFactory_, presenceOracle_, avatarManager_);
+ MUCController* controller = new MUCController(jid_, muc, nick, stanzaChannel_, presenceSender_, iqRouter_, chatWindowFactory_, treeWidgetFactory_, presenceOracle_, avatarManager_, uiEventStream_);
mucControllers_[muc] = controller;
controller->setAvailableServerFeatures(serverDiscoInfo_);
controller->onUserLeft.connect(boost::bind(&ChatsManager::handleUserLeftMUC, this, controller));