summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Salem Herrmann <tiago.herrmann@canonical.com>2015-02-19 00:34:17 -0200
committerDavid Edmundson <kde@davidedmundson.co.uk>2015-03-24 17:40:42 +0100
commit23d4f9e7a94997463753a13c5e012da50b86c0e2 (patch)
tree045fad216cf4fa674d8d4cadb4ad56c7eeb65889
parentb9799ef6f93b13f4df7c2a9e65edcc6bf010d7ef (diff)
Don't set "Requested" based on initiatorHandle and selfHandle
-rw-r--r--TelepathyQt/base-connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TelepathyQt/base-connection.cpp b/TelepathyQt/base-connection.cpp
index 375379a7..27af1542 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())