diff frontends/src/quick_frontend/quick_app.py @ 1229:03661d1b216a

primitivus: implement "Show offline contacts" parameter (sync with "DISCONNECTED_HIDE" action key)
author souliane <souliane@mailoo.org>
date Mon, 06 Oct 2014 12:44:58 +0200
parents 802b7e6bf098
children 3abc6563a0d2
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Mon Oct 06 12:22:14 2014 +0200
+++ b/frontends/src/quick_frontend/quick_app.py	Mon Oct 06 12:44:58 2014 +0200
@@ -556,6 +556,8 @@
             self.profiles[profile]['whoami'] = JID(value)
         elif (namespace, name) == ("Misc", "Watched"):
             self.profiles[profile]['watched'] = value.split()
+        elif (namespace, name) == ('General', C.SHOW_OFFLINE_CONTACTS):
+            self.contact_list.showOfflineContacts(C.bool(value))
 
     def contactDeletedHandler(self, jid, profile):
         target = JID(jid)