Mercurial > libervia-web
diff src/browser/sat_browser/dialog.py @ 944:5d9f6d25c586
browser: various fixes
this is a first pass to fix main Libervia features which have been broken with changes in backend:
- fixed Chat signature
- added/removed/replaced a couple of missing methods
- use contact_list_widget instead of contact_list when needed
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 May 2017 17:03:04 +0200 |
parents | f8a7a046ff9c |
children | fd4eae654182 |
line wrap: on
line diff
--- a/src/browser/sat_browser/dialog.py Fri May 19 13:54:49 2017 +0200 +++ b/src/browser/sat_browser/dialog.py Fri May 19 17:03:04 2017 +0200 @@ -178,7 +178,7 @@ """ selection = self.contacts if keep_selected else [] self.contacts_list.clear() - contacts = self.host.contact_list.roster_entities_connected + contacts = self.host.contact_list.roster_connected self.contacts_list.setVisibleItemCount(10 if len(contacts) > 5 else 5) self.contacts_list.addItem("") for contact in contacts: