Commit 6c2d4db6 authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Fix error in non-anonymous MUCs

parent 5eac5b33
...@@ -408,11 +408,12 @@ class OMEMO: ...@@ -408,11 +408,12 @@ class OMEMO:
nick = properties.muc_nickname nick = properties.muc_nickname
status_codes = properties.muc_status_codes or [] status_codes = properties.muc_status_codes or []
muc_user = properties.muc_user jid = properties.muc_user.jid
if muc_user is None: if jid is None:
# No real jid found
return return
jid = properties.muc_user.jid.getBare() jid = jid.getBare()
if properties.is_nickname_changed: if properties.is_nickname_changed:
new_nick = properties.muc_user.nick new_nick = properties.muc_user.nick
......
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