# HG changeset patch
# User souliane <souliane@mailoo.org>
# Date 1414076196 -7200
# Node ID bade589dbd5a6ae1f9fc1498bcf0797a8832fe29
# Parent  0a06cf833f5acfe9abc2abb25ab3649ac59bd391
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

diff -r 0a06cf833f5a -r bade589dbd5a src/browser/sat_browser/panels.py
--- 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