Fix contact not beeing found after room destroy

This commit is contained in:
Philipp Hörist 2018-09-01 12:44:14 +02:00 committed by Philipp Hörist
parent b5414e3849
commit 42a7dbc79a
1 changed files with 1 additions and 1 deletions

View File

@ -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]