Mercurial > libervia-web
changeset 585:bade589dbd5a
browser_side: revert one change from previous changeset: explicitely get history also for MUC, as we don't know if the service will send us the backlog
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 23 Oct 2014 16:56:36 +0200 |
parents | 0a06cf833f5a |
children | 3eb3a2c0c011 a5019e62c3e9 |
files | src/browser/sat_browser/panels.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/browser/sat_browser/panels.py Wed Oct 22 19:03:55 2014 +0200 +++ b/src/browser/sat_browser/panels.py Thu Oct 23 16:56:36 2014 +0200 @@ -1158,8 +1158,7 @@ _contact = item if isinstance(item, jid.JID) else jid.JID(item) host.contact_panel.setContactMessageWaiting(_contact.bare, False) _new_panel = ChatPanel(host, _contact, type_) # XXX: pyjamas doesn't seems to support creating with cls directly - if type == 'one2one': - _new_panel.historyPrint() + _new_panel.historyPrint() host.setSelected(_new_panel) _new_panel.refresh() return _new_panel