summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/Chat/MUCController.cpp')
-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() {