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

This commit is contained in:
Yann Leboulanger 2007-11-08 20:51:50 +00:00
parent d1452febce
commit b9a1365d50
1 changed files with 2 additions and 1 deletions

View File

@ -279,6 +279,7 @@ class RosterWindow:
if len(self.get_contact_iter(jid, account)):
return
if jid == gajim.get_jid_from_account(account):
if contact.resource != gajim.connections[account].server_resource:
self.add_self_contact(account)
return
if gajim.jid_is_transport(contact.jid):