Commit b9a1365d authored by Yann Leboulanger's avatar Yann Leboulanger

don't add self contact row when we our a presance from our own resource

parent d1452feb
......@@ -279,7 +279,8 @@ class RosterWindow:
if len(self.get_contact_iter(jid, account)):
return
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
if gajim.jid_is_transport(contact.jid):
# if jid is transport, check if we wanna show it in roster
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment