telepathy-qt: BaseConn.I.Requests: Fixed createChannel() suppressHandler argument.

Alexandr Akulich kaffeine at kemper.freedesktop.org
Sat Aug 29 05:49:54 PDT 2015


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

Author: Alexandr Akulich <akulichalexander at gmail.com>
Date:   Fri Aug 14 11:47:47 2015 +0600

BaseConn.I.Requests: Fixed createChannel() suppressHandler argument.

Second arg is not "yours", but "suppressHandler". That means, that
the value should be opposite.

---

 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 570092d..0c2cc5c 100644
--- a/TelepathyQt/base-connection.cpp
+++ b/TelepathyQt/base-connection.cpp
@@ -915,7 +915,7 @@ void BaseConnectionRequestsInterface::createChannel(const QVariantMap &request,
         return;
     }
 
-    BaseChannelPtr channel = mPriv->connection->createChannel(request, /* yours */ false, error);
+    BaseChannelPtr channel = mPriv->connection->createChannel(request, /* suppressHandler */ true, error);
 
     if (error->isValid())
         return;



More information about the telepathy-commits mailing list