diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-05-31 18:22:32 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-05-31 18:22:32 (GMT) |
commit | b3360bf33496b2af232431ce4a75e0e59ce7a0bf (patch) | |
tree | da3559ba434077dbc0dd242dcab0e4fcf72dce3e | |
parent | ce9b4d1865df52497cf0d336efe0de3d1dbb7dec (diff) | |
download | swift-contrib-b3360bf33496b2af232431ce4a75e0e59ce7a0bf.zip swift-contrib-b3360bf33496b2af232431ce4a75e0e59ce7a0bf.tar.bz2 |
Allow subsequent invites
-rw-r--r-- | Swift/Controllers/Chat/MUCController.cpp | 1 |
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() { |