Mercurial > libervia-backend
changeset 3726:33d75cd3c371
plugin XEP-0060, XEP-0163, XEP-0277, text syntaxes: make those plugins usable with components
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 25 Jan 2022 17:26:05 +0100 |
parents | 9b45f0f168cf |
children | a6dfd3db372b |
files | sat/plugins/plugin_misc_text_syntaxes.py sat/plugins/plugin_xep_0060.py sat/plugins/plugin_xep_0163.py sat/plugins/plugin_xep_0277.py |
diffstat | 4 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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",
--- 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"],
--- 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",
--- 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"],