primitivus: implement "Show offline contacts" parameter (sync with "DISCONNECTED_HIDE" action key)
This commit is contained in:
parent
176512b013
commit
e554934f31
1 changed files with 18 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue