prevent a traceback when we get a groupchat presence from unknown participant. see #5067
This commit is contained in:
parent
daa86b240e
commit
c7d4dc8bee
|
@ -1252,6 +1252,9 @@ class GroupchatControl(ChatControlBase):
|
||||||
else:
|
else:
|
||||||
gc_c = gajim.contacts.get_gc_contact(self.account, self.room_jid,
|
gc_c = gajim.contacts.get_gc_contact(self.account, self.room_jid,
|
||||||
nick)
|
nick)
|
||||||
|
if not gc_c:
|
||||||
|
log.error('%s has an iter, but no gc_contact instance')
|
||||||
|
return
|
||||||
# Re-get vcard if avatar has changed
|
# Re-get vcard if avatar has changed
|
||||||
# We do that here because we may request it to the real JID if we
|
# We do that here because we may request it to the real JID if we
|
||||||
# knows it. connections.py doesn't know it.
|
# knows it. connections.py doesn't know it.
|
||||||
|
|
Loading…
Reference in New Issue