From 58478b032d4c655966021707e2d04b5cf79f1e86 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Wed, 14 May 2008 02:20:31 +0000 Subject: [PATCH] fixed opening chat with multiple resources --- src/gajim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index 74aa00caf..98dfd6829 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -2920,9 +2920,9 @@ class Interface: 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), - conn.sessions[contact.jid].values()) + conn.sessions[fjid].values()) # look for an existing session with a chat control for s in sessions: