Mercurial > libervia-web
diff src/browser/sat_browser/game_radiocol.py @ 684:e876f493dccc
browser_side: follow changes made on quick_frontend for chat states and MUC symbols + minor fixes following the refactorisation:
- some MUC handlers are no more needed, the presence handler is enough
- move the chat states logic to quick_frontend
- display MUC games symbols
- remove classes contact_list.ContactsPanel, contact_panel.Occupant and contact_panel.OccupantsList
- move buildPresenceStyle and setPresenceStyle to html_tools
- fixes games menu callback
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 18 Mar 2015 10:17:04 +0100 |
parents | 849ffb24d5bf |
children | 9877607c719a |
line wrap: on
line diff
--- a/src/browser/sat_browser/game_radiocol.py Thu Mar 19 20:41:46 2015 +0100 +++ b/src/browser/sat_browser/game_radiocol.py Wed Mar 18 10:17:04 2015 +0100 @@ -44,6 +44,9 @@ import dialog +unicode = str # XXX: pyjama doesn't manage unicode + + class MetadataPanel(FlexTable): def __init__(self): @@ -331,7 +334,7 @@ def callback(room_jid, contacts): contacts = [unicode(contact) for contact in contacts] room_jid_s = unicode(room_jid) if room_jid else '' - host.bridge.RadioCollective(contacts, room_jid_s, profile=C.PROF_KEY_NONE) + host.bridge.launchRadioCollective(contacts, room_jid_s, profile=C.PROF_KEY_NONE) dialog.RoomAndContactsChooser(host, callback, ok_button="Choose", title="Collective Radio", visible=(False, True))