[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:04:26 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=3902398

The following commit has been merged in the master branch:
commit 39023987c22db8af4b3713d7800e66ec1ee07a91
Author: George Goldberg <grundleborg at googlemail.com>
Date:   Thu Feb 11 22:32:20 2010 +0000

    Add the IM Status properties to new IMAccount resources too.
    
    svn path=/trunk/playground/network/telepathy-integration-daemon/; revision=1088921
---
 kpeople/nepomuk-feeder/telepathyaccount.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/kpeople/nepomuk-feeder/telepathyaccount.cpp b/kpeople/nepomuk-feeder/telepathyaccount.cpp
index 730f317..92c2b99 100644
--- a/kpeople/nepomuk-feeder/telepathyaccount.cpp
+++ b/kpeople/nepomuk-feeder/telepathyaccount.cpp
@@ -151,6 +151,10 @@ void TelepathyAccount::doNepomukSetup()
                                       m_account->parameters().value("account").toString());
         m_accountResource.addProperty(Nepomuk::Vocabulary::NCO::imNickname(),
                                       m_account->nickname());
+        m_accountResource.addProperty(Nepomuk::Vocabulary::NCO::imStatus(),
+                                      m_account->currentPresence().status);
+        m_accountResource.addProperty(Nepomuk::Vocabulary::NCO::imStatusMessage(),
+                                      m_account->currentPresence().statusMessage);
         m_accountResource.addProperty(Nepomuk::Vocabulary::Telepathy::accountIdentifier(),
                                       m_path);
 
@@ -212,6 +216,8 @@ void TelepathyAccount::onCurrentPresenceChanged(Tp::SimplePresence presence)
     m_accountResource.setProperty(Nepomuk::Vocabulary::NCO::imStatusMessage(),
                                   presence.statusMessage);
     // TODO: Add a Telepathy-specific property (in telepathy.trig) to represent the presence.type.
+    // TODO: When doing the above, also addProperty that property in doNepomukSetup() for newly
+    // created IMAccount resources.
 }
 
 

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list