Fix contact not beeing found after room destroy
This commit is contained in:
parent
be96422a14
commit
7d723d7b98
|
@ -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