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

[omemo] Dont validate JID

nbxmpp does this already for us
parent 522b765d
......@@ -325,12 +325,7 @@ class OMEMO(BaseModule):
for user_jid in result.users:
jid = helpers.parse_jid(user_jid)
except helpers.InvalidFormat:
self._log.warning('Invalid JID: %s, ignoring it', user_jid)
jid = str(user_jid)
self.backend.add_muc_member(room_jid, jid)
if not self.is_contact_in_roster(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