telepathy-qt: Don't set "Requested" based on initiatorHandle and selfHandle

David Edmundson davidedmundson at kemper.freedesktop.org
Tue Mar 24 09:40:48 PDT 2015


Module: telepathy-qt
Branch: master
Commit: 23d4f9e7a94997463753a13c5e012da50b86c0e2
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=23d4f9e7a94997463753a13c5e012da50b86c0e2

Author: Tiago Salem Herrmann <tiago.herrmann at canonical.com>
Date:   Thu Feb 19 00:34:17 2015 -0200

Don't set "Requested" based on initiatorHandle and selfHandle

---

 TelepathyQt/base-connection.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/TelepathyQt/base-connection.cpp b/TelepathyQt/base-connection.cpp
index 375379a..27af154 100644
--- a/TelepathyQt/base-connection.cpp
+++ b/TelepathyQt/base-connection.cpp
@@ -331,7 +331,7 @@ Tp::BaseChannelPtr BaseConnection::createChannel(const QString &channelType,
     channel->setInitiatorHandle(initiatorHandle);
     channel->setInitiatorID(initiatorID);
     channel->setTargetID(targetID);
-    channel->setRequested(initiatorHandle == mPriv->selfHandle);
+    channel->setRequested(suppressHandler);
 
     channel->registerObject(error);
     if (error->isValid())



More information about the telepathy-commits mailing list