fix behaviour when we get a message from ourself
This commit is contained in:
parent
3d50d79094
commit
aef7ebfa18
1 changed files with 2 additions and 1 deletions
|
@ -2253,7 +2253,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 highest_contact and contact.resource == highest_contact.resource:
|
if highest_contact and contact.resource == highest_contact.resource \
|
||||||
|
and not jid == gajim.get_jid_from_account(account):
|
||||||
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…
Add table
Reference in a new issue