changeset 3461:02a8d227d5bb

plugin misc lists: register app NS for "tickets" NS instead of XEP-0346 submitted one
author Goffi <goffi@goffi.org>
date Fri, 19 Feb 2021 15:49:59 +0100
parents d4a71a1dac88
children 12dc234f698c
files sat/plugins/plugin_misc_lists.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_misc_lists.py	Fri Feb 19 15:49:58 2021 +0100
+++ b/sat/plugins/plugin_misc_lists.py	Fri Feb 19 15:49:59 2021 +0100
@@ -207,7 +207,7 @@
         self.host = host
         self._s = self.host.plugins["XEP-0346"]
         self.namespace = self._s.getSubmittedNS(APP_NS_TICKETS)
-        host.registerNamespace("tickets", self.namespace)
+        host.registerNamespace("tickets", APP_NS_TICKETS)
         self._p = self.host.plugins["XEP-0060"]
         self._m = self.host.plugins["XEP-0277"]
         host.bridge.addMethod(