Plugin XEP-0384: rename the pun names "OLDMEMO" and "TWOMEMO" to "OMEMO_legacy" and "OMEMO" for clarity.
This commit is contained in:
parent
5f826f0505
commit
483e63d709
1 changed files with 4 additions and 2 deletions
|
|
@ -1596,8 +1596,10 @@ class OMEMO:
|
|||
# including IQs.
|
||||
|
||||
# Give twomemo a (slightly) higher priority than oldmemo
|
||||
sat.register_encryption_plugin(self, "TWOMEMO", twomemo.twomemo.NAMESPACE, 101)
|
||||
sat.register_encryption_plugin(self, "OLDMEMO", oldmemo.oldmemo.NAMESPACE, 100)
|
||||
sat.register_encryption_plugin(self, "OMEMO", twomemo.twomemo.NAMESPACE, 101)
|
||||
sat.register_encryption_plugin(
|
||||
self, "OMEMO_legacy", oldmemo.oldmemo.NAMESPACE, 100
|
||||
)
|
||||
|
||||
xep_0163 = cast(XEP_0163, sat.plugins["XEP-0163"])
|
||||
xep_0163.add_pep_event(
|
||||
|
|
|
|||
Loading…
Reference in a new issue