diff src/pages/chat/page_meta.py @ 1001:ae7e9ce4c64c

pages (chat): fixed call to discoInfos
author Goffi <goffi@goffi.org>
date Fri, 05 Jan 2018 16:30:05 +0100
parents 4cc4d49e1d0f
children 990e80aa43a9
line wrap: on
line diff
--- a/src/pages/chat/page_meta.py	Fri Jan 05 16:30:05 2018 +0100
+++ b/src/pages/chat/page_meta.py	Fri Jan 05 16:30:05 2018 +0100
@@ -51,7 +51,7 @@
         jid_s = yield self.host.bridgeCall(u'getParamA', "JabberID", "Connection", profile_key=profile)
         profile_jid = session.jid = jid.JID(jid_s)
 
-    disco = yield self.host.bridgeCall(u"discoInfos", target_jid.host, profile)
+    disco = yield self.host.bridgeCall(u"discoInfos", target_jid.host, u'', True, profile)
     if "conference" in [i[0] for i in disco[1]]:
         chat_type = C.CHAT_GROUP
         join_ret = yield self.host.bridgeCall(u"mucJoin", target_jid.userhost(), "", "", profile)