[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:22:03 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=95c5cbd

The following commit has been merged in the master branch:
commit 95c5cbdfff1815133f7da62db8b118c2989e50a5
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Fri Jul 6 01:14:46 2012 +0100

    Show offline icon in text-ui if local user is offline
---
 lib/chat-widget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index e3439d8..ea5196f 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -242,7 +242,7 @@ Tp::AccountPtr ChatWidget::account() const
 
 KIcon ChatWidget::icon() const
 {
-    if (d->channel->connection()->status() == Tp::ConnectionStatusConnected) {
+    if (d->account->currentPresence() != Tp::Presence::offline()) {
         //normal chat - self and one other person.
         if (!d->isGroupChat) {
             //find the other contact which isn't self.

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list