Mercurial > libervia-web
changeset 32:6b8da70b0799
browser_side: contactsChooser now discard MUC rooms
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 14 May 2011 00:58:11 +0200 |
parents | cb07078f8d6f |
children | e70521e6d803 |
files | browser_side/dialog.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/browser_side/dialog.py Sat May 14 00:57:02 2011 +0200 +++ b/browser_side/dialog.py Sat May 14 00:58:11 2011 +0200 @@ -70,7 +70,8 @@ """ self.contacts_list.clear() for contact in self.host.contact_panel.getConnected(): - self.contacts_list.addItem(contact) + if contact not in [room.bare for room in self.host.room_list]: + self.contacts_list.addItem(contact) self.show() def onChoose(self):