[omemo] Handle MUC beeing destroyed
This commit is contained in:
@@ -403,6 +403,9 @@ class OMEMO:
|
|||||||
if properties.type == PresenceType.ERROR:
|
if properties.type == PresenceType.ERROR:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if properties.is_muc_destroyed:
|
||||||
|
return
|
||||||
|
|
||||||
room = properties.jid.getBare()
|
room = properties.jid.getBare()
|
||||||
nick = properties.muc_nickname
|
nick = properties.muc_nickname
|
||||||
status_codes = properties.muc_status_codes or []
|
status_codes = properties.muc_status_codes or []
|
||||||
|
|||||||
Reference in New Issue
Block a user