Fix contact not beeing found after room destroy
This commit is contained in:
parent
b5414e3849
commit
42a7dbc79a
|
@ -469,7 +469,7 @@ class Contacts():
|
|||
self._contacts = {}
|
||||
|
||||
def add_contact(self, contact):
|
||||
if contact.jid not in self._contacts:
|
||||
if contact.jid not in self._contacts or contact.is_groupchat():
|
||||
self._contacts[contact.jid] = [contact]
|
||||
return
|
||||
contacts = self._contacts[contact.jid]
|
||||
|
|
Loading…
Reference in New Issue