summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-05-31 18:22:32 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-05-31 18:22:32 (GMT)
commitb3360bf33496b2af232431ce4a75e0e59ce7a0bf (patch)
treeda3559ba434077dbc0dd242dcab0e4fcf72dce3e /Swift
parentce9b4d1865df52497cf0d336efe0de3d1dbb7dec (diff)
downloadswift-b3360bf33496b2af232431ce4a75e0e59ce7a0bf.zip
swift-b3360bf33496b2af232431ce4a75e0e59ce7a0bf.tar.bz2
Allow subsequent invites
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/Chat/MUCController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/MUCController.cpp b/Swift/Controllers/Chat/MUCController.cpp
index 94fd142..0469cc6 100644
--- a/Swift/Controllers/Chat/MUCController.cpp
+++ b/Swift/Controllers/Chat/MUCController.cpp
@@ -749,6 +749,7 @@ void MUCController::handleInviteToMUCWindowCompleted() {
foreach (const JID& jid, inviteWindow_->getJIDs()) {
muc_->invitePerson(jid, inviteWindow_->getReason());
}
+ inviteWindow_ = NULL;
}
void MUCController::handleGetAffiliationsRequest() {