primitivus: implement parameter "Show empty groups"

This commit is contained in:
souliane 2014-10-06 13:54:41 +02:00
commit c850615a2d

View file

@ -558,6 +558,8 @@ class QuickApp(object):
self.profiles[profile]['watched'] = value.split()
elif (namespace, name) == ('General', C.SHOW_OFFLINE_CONTACTS):
self.contact_list.showOfflineContacts(C.bool(value))
elif (namespace, name) == ('General', C.SHOW_EMPTY_GROUPS):
self.contact_list.showEmptyGroups(C.bool(value))
def contactDeletedHandler(self, jid, profile):
target = JID(jid)