primitivus: implement "Show offline contacts" parameter (sync with "DISCONNECTED_HIDE" action key)

This commit is contained in:
souliane 2014-10-06 12:44:58 +02:00
commit e554934f31

View file

@ -556,6 +556,8 @@ class QuickApp(object):
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)