Commit 7d723d7b authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix contact not beeing found after room destroy

parent be96422a
......@@ -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]
contacts = self._contacts[contact.jid]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment