diff sat/plugins/plugin_xep_0060.py @ 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 1cdb9d9fad6b
children 783d6dc87b80
line wrap: on
line diff
--- 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"],