don't add self contact row when we our a presance from our own resource
This commit is contained in:
parent
d1452febce
commit
b9a1365d50
|
@ -279,7 +279,8 @@ 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):
|
||||||
self.add_self_contact(account)
|
if contact.resource != gajim.connections[account].server_resource:
|
||||||
|
self.add_self_contact(account)
|
||||||
return
|
return
|
||||||
if gajim.jid_is_transport(contact.jid):
|
if gajim.jid_is_transport(contact.jid):
|
||||||
# if jid is transport, check if we wanna show it in roster
|
# if jid is transport, check if we wanna show it in roster
|
||||||
|
|
Loading…
Reference in New Issue