quick_frontend, primitivus: use a listener to update the contact list when receiving a presence
This commit is contained in:
parent
8c46a23869
commit
b836fef4dd
1 changed files with 24 additions and 4 deletions
|
|
@ -464,7 +464,6 @@ class PrimitivusApp(QuickApp, InputHistory):
|
|||
def addContactList(self, profile):
|
||||
contact_list = ContactList(self, on_click=self.contactSelected, on_change=lambda w: self.redraw(), profile=profile)
|
||||
self.contact_lists_pile.contents.append((contact_list, ('weight', 1)))
|
||||
self.contact_lists[profile] = contact_list
|
||||
return contact_list
|
||||
|
||||
def plugging_profiles(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue