[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:24:44 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=ca39865
The following commit has been merged in the master branch:
commit ca39865eebf68479fd8a464b1f777fcd542712ef
Author: Marcin Ziemiński <zieminn at gmail.com>
Date: Sat Aug 2 21:55:44 2014 +0200
Update remote fingerprint on trust level change.
---
lib/channel-adapter.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/channel-adapter.cpp b/lib/channel-adapter.cpp
index 75a0c79..ec8f412 100644
--- a/lib/channel-adapter.cpp
+++ b/lib/channel-adapter.cpp
@@ -417,5 +417,11 @@ void ChannelAdapter::onTrustLevelChanged(uint trustLevel)
SLOT(onRemoteFingerprintPropertyGet(Tp::PendingOperation*)));
}
+ // it may be a new session and the fingerprint has to be updated
+ if(d->trustLevel == Tp::OTRTrustLevelPrivate || d->trustLevel == Tp::OTRTrustLevelUnverified) {
+ connect(d->otrProxy->requestPropertyRemoteFingerprint(), SIGNAL(finished(Tp::PendingOperation*)),
+ SLOT(onRemoteFingerprintPropertyGet(Tp::PendingOperation*)));
+ }
+
Q_EMIT otrTrustLevelChanged(d->trustLevel, oldLevel);
}
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list