summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maudsley <richard.maudsley@isode.com>2014-04-15 14:49:05 (GMT)
committerRichard Maudsley <richard.maudsley@isode.com>2014-04-25 08:38:30 (GMT)
commitb42a5c5849813fe8db3bd3889378a53238cc36f7 (patch)
tree2c9265025c0281acfde3077d884e17c834400358 /Swift/Controllers/Chat/ChatController.cpp
parentd5f701fdd6826421c0c83b8e299918065b6c99d1 (diff)
downloadswift-b42a5c5849813fe8db3bd3889378a53238cc36f7.zip
swift-b42a5c5849813fe8db3bd3889378a53238cc36f7.tar.bz2
Hide reason field in impromptu chat invites.
Change-Id: Icb5075f85a23fc181ff8f5ee00633bb768c4eb5f
Diffstat (limited to 'Swift/Controllers/Chat/ChatController.cpp')
-rw-r--r--Swift/Controllers/Chat/ChatController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/Chat/ChatController.cpp b/Swift/Controllers/Chat/ChatController.cpp
index fb69366..10cf54b 100644
--- a/Swift/Controllers/Chat/ChatController.cpp
+++ b/Swift/Controllers/Chat/ChatController.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2013 Kevin Smith
+ * Copyright (c) 2010-2014 Kevin Smith
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
@@ -296,7 +296,7 @@ void ChatController::handleUnblockUserRequest() {
}
void ChatController::handleInviteToChat(const std::vector<JID>& droppedJIDs) {
- boost::shared_ptr<UIEvent> event(new RequestInviteToMUCUIEvent(toJID_.toBare(), droppedJIDs));
+ boost::shared_ptr<UIEvent> event(new RequestInviteToMUCUIEvent(toJID_.toBare(), droppedJIDs, RequestInviteToMUCUIEvent::Impromptu));
eventStream_->send(event);
}