fixed opening chat with multiple resources
This commit is contained in:
parent
63d6c2875e
commit
58478b032d
|
@ -2920,9 +2920,9 @@ class Interface:
|
||||||
|
|
||||||
conn = gajim.connections[account]
|
conn = gajim.connections[account]
|
||||||
|
|
||||||
if not session and contact.jid in conn.sessions:
|
if not session and fjid in conn.sessions:
|
||||||
sessions = filter(lambda s: isinstance(s, ChatControlSession),
|
sessions = filter(lambda s: isinstance(s, ChatControlSession),
|
||||||
conn.sessions[contact.jid].values())
|
conn.sessions[fjid].values())
|
||||||
|
|
||||||
# look for an existing session with a chat control
|
# look for an existing session with a chat control
|
||||||
for s in sessions:
|
for s in sessions:
|
||||||
|
|
Loading…
Reference in New Issue