dont create self_contact if we receive our

presence
This commit is contained in:
Dimitur Kirov 2006-07-20 08:41:16 +00:00
parent dfa4e3bf43
commit ba3ac3a592
1 changed files with 10 additions and 9 deletions

View File

@ -398,6 +398,7 @@ class Interface:
# presence of another resource of out jid
if resource == gajim.connections[account].server_resource:
resource = gajim.config.get_per('accounts', account, 'resource')
else:
contact1 = gajim.contacts.create_contact(jid = ji,
name = gajim.nicks[account], groups = [],
show = array[1], status = status_message, sub = 'both',