From 22cf4b74336019a68f41695c499e800705b35580 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 25 Jul 2005 22:24:58 +0000 Subject: [PATCH] fix a traceback --- src/common/gajim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/gajim.py b/src/common/gajim.py index 61afa81fc..1519db0ed 100644 --- a/src/common/gajim.py +++ b/src/common/gajim.py @@ -91,8 +91,8 @@ def get_first_contact_instance_from_jid(account, jid): else: # it's fake jid #FIXME: problem see comment in next line nick = get_nick_from_fjid(jid) # if we ban/kick we now real jid - if nick in gc_contacts[room_jid]: - contact = gc_contacts[room_jid][nick] # always only one instance + if nick in gc_contacts[jid]: + contact = gc_contacts[jid][nick] # always only one instance return contact def get_contact_name_from_jid(account, jid):