telepathy-qt: BaseConnection::Adaptee: Fixed getProtocol().

David Edmundson davidedmundson at kemper.freedesktop.org
Sun Aug 17 10:55:03 PDT 2014


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

Author: Alexandr Akulich <akulichalexander at gmail.com>
Date:   Sat Aug  9 18:52:28 2014 +0600

BaseConnection::Adaptee: Fixed getProtocol().

---

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

diff --git a/TelepathyQt/base-connection-internal.h b/TelepathyQt/base-connection-internal.h
index 173b11a..00e11ce 100644
--- a/TelepathyQt/base-connection-internal.h
+++ b/TelepathyQt/base-connection-internal.h
@@ -60,7 +60,7 @@ private Q_SLOTS:
     }
 
     void getProtocol(const Tp::Service::ConnectionAdaptor::GetProtocolContextPtr &context) {
-        context->setFinished(QLatin1String("whosthere"));
+        context->setFinished(mConnection->protocolName());
     }
 
     void holdHandles(uint handleType, const Tp::UIntList &handles, const Tp::Service::ConnectionAdaptor::HoldHandlesContextPtr &context) {



More information about the telepathy-commits mailing list