[telepathy-qt4/master] Fixed bug 21335: Implement Group self-handle removal reasons.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Fri Jul 24 08:45:01 PDT 2009


---
 TelepathyQt4/channel.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/TelepathyQt4/channel.cpp b/TelepathyQt4/channel.cpp
index 2368c3d..93cbc88 100644
--- a/TelepathyQt4/channel.cpp
+++ b/TelepathyQt4/channel.cpp
@@ -852,6 +852,9 @@ void Channel::Private::updateContacts(const QList<ContactPtr> &contacts)
         GroupMemberChangeDetails details(
                 actorContact,
                 currentGroupMembersChangedInfo->details);
+        if (currentGroupMembersChangedInfo->removed.contains(groupSelfHandle)) {
+            groupSelfContactRemoveInfo = details;
+        }
         if (parent->isReady()) {
             // Channel is ready, we can signal membership changes to the outside world without
             // confusing anyone's fragile logic.
-- 
1.5.6.5




More information about the telepathy-commits mailing list