[Telepathy-commits] [telepathy-qt4/master] Filter GroupFlagProperties out in fallback GetGroupFlags callback

Olli Salli olli.salli at collabora.co.uk
Mon Oct 20 08:47:36 PDT 2008


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

diff --git a/TelepathyQt4/cli-channel.cpp b/TelepathyQt4/cli-channel.cpp
index b5768fc..3d4d0b2 100644
--- a/TelepathyQt4/cli-channel.cpp
+++ b/TelepathyQt4/cli-channel.cpp
@@ -638,6 +638,11 @@ void Channel::gotGroupFlags(QDBusPendingCallWatcher* watcher)
     } else {
         debug() << "Got reply to fallback Channel.Interface.Group::GetGroupFlags()";
         mPriv->groupFlags = reply.value();
+
+        if (mPriv->groupFlags & ChannelGroupFlagProperties) {
+            warning() << " Reply included ChannelGroupFlagProperties, even though properties specified in 0.17.7 didn't work! - unsetting";
+            mPriv->groupFlags &= ~ChannelGroupFlagProperties;
+        }
     }
 
     mPriv->continueIntrospection();
-- 
1.5.6.5



More information about the Telepathy-commits mailing list