quick_frontend, primitivus: use a listener to update the contact list when receiving a presence

This commit is contained in:
souliane 2015-02-22 21:30:20 +01:00
commit b836fef4dd

View file

@ -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):