fix traceback when receiving self presences. Fixes #6099
This commit is contained in:
parent
c86f98a19c
commit
42ac96b707
1 changed files with 2 additions and 1 deletions
|
@ -2448,7 +2448,8 @@ class RosterWindow:
|
|||
for jid_ in gajim.transport_avatar[account][jid]:
|
||||
obj.conn.request_vcard(jid_)
|
||||
|
||||
self.chg_contact_status(obj.contact, obj.show, obj.status, account)
|
||||
if obj.contact:
|
||||
self.chg_contact_status(obj.contact, obj.show, obj.status, account)
|
||||
|
||||
def _nec_gc_presence_received(self, obj):
|
||||
account = obj.conn.name
|
||||
|
|
Loading…
Add table
Reference in a new issue