# HG changeset patch # User Goffi # Date 1643127965 -3600 # Node ID 33d75cd3c371af0d225717e065db3b5d1d30270d # Parent 9b45f0f168cfef2f9f1937559920af06b10b4cbc plugin XEP-0060, XEP-0163, XEP-0277, text syntaxes: make those plugins usable with components diff -r 9b45f0f168cf -r 33d75cd3c371 sat/plugins/plugin_misc_text_syntaxes.py --- a/sat/plugins/plugin_misc_text_syntaxes.py Tue Jan 25 17:25:10 2022 +0100 +++ b/sat/plugins/plugin_misc_text_syntaxes.py Tue Jan 25 17:26:05 2022 +0100 @@ -145,6 +145,7 @@ C.PI_NAME: "Text syntaxes", C.PI_IMPORT_NAME: "TEXT_SYNTAXES", C.PI_TYPE: "MISC", + C.PI_MODES: C.PLUG_MODE_BOTH, C.PI_PROTOCOLS: [], C.PI_DEPENDENCIES: [], C.PI_MAIN: "TextSyntaxes", diff -r 9b45f0f168cf -r 33d75cd3c371 sat/plugins/plugin_xep_0060.py --- a/sat/plugins/plugin_xep_0060.py Tue Jan 25 17:25:10 2022 +0100 +++ b/sat/plugins/plugin_xep_0060.py Tue Jan 25 17:26:05 2022 +0100 @@ -49,6 +49,7 @@ C.PI_NAME: "Publish-Subscribe", C.PI_IMPORT_NAME: "XEP-0060", C.PI_TYPE: "XEP", + C.PI_MODES: C.PLUG_MODE_BOTH, C.PI_PROTOCOLS: ["XEP-0060"], C.PI_DEPENDENCIES: [], C.PI_RECOMMENDATIONS: ["XEP-0059", "XEP-0313"], diff -r 9b45f0f168cf -r 33d75cd3c371 sat/plugins/plugin_xep_0163.py --- a/sat/plugins/plugin_xep_0163.py Tue Jan 25 17:25:10 2022 +0100 +++ b/sat/plugins/plugin_xep_0163.py Tue Jan 25 17:26:05 2022 +0100 @@ -35,6 +35,7 @@ C.PI_NAME: "Personal Eventing Protocol Plugin", C.PI_IMPORT_NAME: "XEP-0163", C.PI_TYPE: "XEP", + C.PI_MODES: C.PLUG_MODE_BOTH, C.PI_PROTOCOLS: ["XEP-0163", "XEP-0107"], C.PI_DEPENDENCIES: ["XEP-0060"], C.PI_MAIN: "XEP_0163", diff -r 9b45f0f168cf -r 33d75cd3c371 sat/plugins/plugin_xep_0277.py --- a/sat/plugins/plugin_xep_0277.py Tue Jan 25 17:25:10 2022 +0100 +++ b/sat/plugins/plugin_xep_0277.py Tue Jan 25 17:26:05 2022 +0100 @@ -62,6 +62,7 @@ C.PI_NAME: "Microblogging over XMPP Plugin", C.PI_IMPORT_NAME: "XEP-0277", C.PI_TYPE: "XEP", + C.PI_MODES: C.PLUG_MODE_BOTH, C.PI_PROTOCOLS: ["XEP-0277"], C.PI_DEPENDENCIES: ["XEP-0163", "XEP-0060", "TEXT_SYNTAXES"], C.PI_RECOMMENDATIONS: ["XEP-0059", "EXTRA-PEP", "PUBSUB_CACHE"],