diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-05-07 07:59:39 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-05-07 07:59:39 (GMT) |
commit | 5409f27bbc3b32a65b2feed3259b1cc15da888a3 (patch) | |
tree | 3f2475d0eac1e3679b5c48c0c3633264f0497700 /Swiften/Roster/GroupRosterItem.cpp | |
parent | a49e2a1d4d17c36fad6ac1d1313fac955f675a54 (diff) | |
download | swift-5409f27bbc3b32a65b2feed3259b1cc15da888a3.zip swift-5409f27bbc3b32a65b2feed3259b1cc15da888a3.tar.bz2 |
Fix hang on MUC users leaving
Diffstat (limited to 'Swiften/Roster/GroupRosterItem.cpp')
-rw-r--r-- | Swiften/Roster/GroupRosterItem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Roster/GroupRosterItem.cpp b/Swiften/Roster/GroupRosterItem.cpp index 05530ec..b55ce17 100644 --- a/Swiften/Roster/GroupRosterItem.cpp +++ b/Swiften/Roster/GroupRosterItem.cpp @@ -76,7 +76,7 @@ bool GroupRosterItem::itemLessThan(const RosterItem* left, const RosterItem* rig const ContactRosterItem* leftContact = dynamic_cast<const ContactRosterItem*>(left); const ContactRosterItem* rightContact = dynamic_cast<const ContactRosterItem*>(right); if (leftContact) { - if (rightContact) { + if (!rightContact) { return false; } StatusShow::Type leftType = leftContact->getSimplifiedStatusShow(); |