diff --git a/src/roster_window.py b/src/roster_window.py index 5d59d6486..06067714c 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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