plugin XEP-0384: skip MessageReceived trigger when in a component:
OMEMO is not used in components so far, but the trigger is trying to request OMEMO PEP nodes, which causes an error with virtual pubsub service of AP component.
This commit is contained in:
parent
619fcca7da
commit
199f18366c
1 changed files with 2 additions and 0 deletions
|
|
@ -2113,6 +2113,8 @@ class OMEMO:
|
|||
encrypted.
|
||||
@return: Whether to continue the message received flow.
|
||||
"""
|
||||
if client.is_component:
|
||||
return True
|
||||
muc_plaintext_cache_key: Optional[MUCPlaintextCacheKey] = None
|
||||
|
||||
sender_jid = jid.JID(message_elt["from"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue