# HG changeset patch # User Goffi # Date 1678966284 -3600 # Node ID 1d5a81e3c9e841a7e5296f67d17677b6b1fa671a # Parent 9456852d32861da9d2b7d4b577fc151e7cb7fa29 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. diff -r 9456852d3286 -r 1d5a81e3c9e8 sat/plugins/plugin_xep_0384.py --- a/sat/plugins/plugin_xep_0384.py Thu Mar 16 12:29:34 2023 +0100 +++ b/sat/plugins/plugin_xep_0384.py Thu Mar 16 12:31:24 2023 +0100 @@ -2113,6 +2113,8 @@ 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"])