changeset 1091:092e910292c9

pages (chat): don't change session.jid anymore, as it is now set on log-in
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 12:56:13 +0200
parents 9c41b7e91172
children 63ed5f6bd4eb
files src/pages/chat/page_meta.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/pages/chat/page_meta.py	Fri Jun 01 12:55:25 2018 +0200
+++ b/src/pages/chat/page_meta.py	Fri Jun 01 12:56:13 2018 +0200
@@ -47,9 +47,6 @@
     target_jid = rdata['target']
     profile = session.profile
     profile_jid = session.jid
-    if profile_jid is None:
-        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, u'', True, profile)
     if "conference" in [i[0] for i in disco[1]]: