Fix when we receive a message from unknown contact
This commit is contained in:
parent
157a83ade5
commit
a4b37a54a1
|
@ -1984,7 +1984,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
if not ctrl:
|
if not ctrl:
|
||||||
# if not, if message comes from highest prio, get control or open one
|
# if not, if message comes from highest prio, get control or open one
|
||||||
# without resource
|
# without resource
|
||||||
if contact.resource == highest_contact.resource:
|
if highest_contact.resource and contact.resource == \
|
||||||
|
highest_contact.resource:
|
||||||
ctrl = gajim.interface.msg_win_mgr.get_control(jid, account)
|
ctrl = gajim.interface.msg_win_mgr.get_control(jid, account)
|
||||||
fjid = jid
|
fjid = jid
|
||||||
resource_for_chat = None
|
resource_for_chat = None
|
||||||
|
|
Loading…
Reference in New Issue