comparison sat/plugins/plugin_xep_0384.py @ 3918:e63f96e60f7b

plugin XEP-0384: expose OLDMEMO and TWOMEMO namespaces: rel 379
author Goffi <goffi@goffi.org>
date Thu, 06 Oct 2022 16:02:05 +0200
parents 4cb38c8312a1
children 7b2c51bcc8f5
comparison
equal deleted inserted replaced
3917:626629781a53 3918:e63f96e60f7b
1105 ``urn:xmpp:omemo:2`` namespace and the (legacy) ``eu.siacs.conversations.axolotl`` 1105 ``urn:xmpp:omemo:2`` namespace and the (legacy) ``eu.siacs.conversations.axolotl``
1106 namespace. Both versions of the protocol are handled by this plugin and compatibility 1106 namespace. Both versions of the protocol are handled by this plugin and compatibility
1107 between the two is maintained. MUC messages are supported next to one to one messages. 1107 between the two is maintained. MUC messages are supported next to one to one messages.
1108 For trust management, the two trust models "BTBV" and "manual" are supported. 1108 For trust management, the two trust models "BTBV" and "manual" are supported.
1109 """ 1109 """
1110 NS_TWOMEMO = twomemo.twomemo.NAMESPACE
1111 NS_OLDMEMO = oldmemo.oldmemo.NAMESPACE
1110 1112
1111 # For MUC/MIX message stanzas, the <to/> affix is a MUST 1113 # For MUC/MIX message stanzas, the <to/> affix is a MUST
1112 SCE_PROFILE_GROUPCHAT = SCEProfile( 1114 SCE_PROFILE_GROUPCHAT = SCEProfile(
1113 rpad_policy=SCEAffixPolicy.REQUIRED, 1115 rpad_policy=SCEAffixPolicy.REQUIRED,
1114 time_policy=SCEAffixPolicy.OPTIONAL, 1116 time_policy=SCEAffixPolicy.OPTIONAL,