# HG changeset patch # User Goffi # Date 1665064925 -7200 # Node ID 7b2c51bcc8f5cdf8ad728cff7f8d51d180f6323b # Parent e63f96e60f7bf36f03da3d72d82f5c1392f17777 plugin XEP-0384: temporarily disable `` stanza encryption: `` stanza encryption is implemented, but the `send` trigger doesn't catch all `iq` stanza send (which are often sent directly with `xmlstream.send`), and some stanza encryption may cause trouble (happened with disco on a bare jid). It is temporarily disabled but should be reactivated before `0.9` release. diff -r e63f96e60f7b -r 7b2c51bcc8f5 sat/plugins/plugin_xep_0384.py --- a/sat/plugins/plugin_xep_0384.py Thu Oct 06 16:02:05 2022 +0200 +++ b/sat/plugins/plugin_xep_0384.py Thu Oct 06 16:02:05 2022 +0200 @@ -1750,9 +1750,9 @@ @param stanza: The stanza that is about to be sent. Can be modified. @return: Whether the send message flow should continue or not. """ - # SCE is only applicable to message and IQ stanzas - if stanza.name not in { "message", "iq" }: + # FIXME: temporary disabling IQ stanza encryption + if stanza.name not in { "message" }: # , "iq" }: return True # Get the intended recipient