[SCM] ktp-kded-integration-module packaging branch, master, updated. debian/15.12.1-2-382-gbd961c2

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:15:28 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-kded-module.git;a=commitdiff;h=18877cc

The following commit has been merged in the master branch:
commit 18877cc7b109e1c36338a5e064d0b82cc5e22676
Author: Siddhartha Sahu <sh.siddhartha at gmail.com>
Date:   Sun Oct 20 22:27:30 2013 +0200

    Do not go auto away if offline
    
    REVIEW:113357
---
 autoaway.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/autoaway.cpp b/autoaway.cpp
index dd6b48e..ec2afb6 100644
--- a/autoaway.cpp
+++ b/autoaway.cpp
@@ -61,7 +61,8 @@ void AutoAway::timeoutReached(int id)
     if (id == m_awayTimeoutId) {
         if (m_globalPresence->currentPresence().type() != Tp::Presence::away().type() &&
             m_globalPresence->currentPresence().type() != Tp::Presence::xa().type() &&
-            m_globalPresence->currentPresence().type() != Tp::Presence::hidden().type()) {
+            m_globalPresence->currentPresence().type() != Tp::Presence::hidden().type() &&
+            m_globalPresence->currentPresence().type() != Tp::Presence::offline().type()) {
             m_awayMessage.replace(QLatin1String("%time"), QDateTime::currentDateTimeUtc().toString(QLatin1String("hh:mm:ss (%t)")), Qt::CaseInsensitive);
             setRequestedPresence(Tp::Presence::away(m_awayMessage));
             setActive(true);

-- 
ktp-kded-integration-module packaging



More information about the pkg-kde-commits mailing list