This commit is contained in:
Yann Leboulanger 2006-03-16 18:45:07 +00:00
parent 72e7cb6423
commit 31e3e64004

View file

@ -1984,8 +1984,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
if not ctrl:
# if not, if message comes from highest prio, get control or open one
# without resource
if highest_contact.resource and contact.resource == \
highest_contact.resource:
if highest_contact and contact.resource == highest_contact.resource:
ctrl = gajim.interface.msg_win_mgr.get_control(jid, account)
fjid = jid
resource_for_chat = None