don't add self contact row when we our a presance from our own resource
This commit is contained in:
parent
d1452febce
commit
b9a1365d50
1 changed files with 2 additions and 1 deletions
|
@ -279,6 +279,7 @@ class RosterWindow:
|
||||||
if len(self.get_contact_iter(jid, account)):
|
if len(self.get_contact_iter(jid, account)):
|
||||||
return
|
return
|
||||||
if jid == gajim.get_jid_from_account(account):
|
if jid == gajim.get_jid_from_account(account):
|
||||||
|
if contact.resource != gajim.connections[account].server_resource:
|
||||||
self.add_self_contact(account)
|
self.add_self_contact(account)
|
||||||
return
|
return
|
||||||
if gajim.jid_is_transport(contact.jid):
|
if gajim.jid_is_transport(contact.jid):
|
||||||
|
|
Loading…
Add table
Reference in a new issue