plugin XEP-0384: temporarily disable <iq> stanza encryption:
`<iq>` 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.
This commit is contained in:
parent
7d415c705d
commit
4b498cffe0
1 changed files with 2 additions and 2 deletions
|
|
@ -1750,9 +1750,9 @@ class OMEMO:
|
|||
@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
|
||||
|
|
|
|||
Loading…
Reference in a new issue