comparison sat/plugins/plugin_misc_lists.py @ 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 483bcfeb11c9
comparison
equal deleted inserted replaced
3460:d4a71a1dac88 3461:02a8d227d5bb
205 def __init__(self, host): 205 def __init__(self, host):
206 log.info(_("Pubsub lists plugin initialization")) 206 log.info(_("Pubsub lists plugin initialization"))
207 self.host = host 207 self.host = host
208 self._s = self.host.plugins["XEP-0346"] 208 self._s = self.host.plugins["XEP-0346"]
209 self.namespace = self._s.getSubmittedNS(APP_NS_TICKETS) 209 self.namespace = self._s.getSubmittedNS(APP_NS_TICKETS)
210 host.registerNamespace("tickets", self.namespace) 210 host.registerNamespace("tickets", APP_NS_TICKETS)
211 self._p = self.host.plugins["XEP-0060"] 211 self._p = self.host.plugins["XEP-0060"]
212 self._m = self.host.plugins["XEP-0277"] 212 self._m = self.host.plugins["XEP-0277"]
213 host.bridge.addMethod( 213 host.bridge.addMethod(
214 "listGet", 214 "listGet",
215 ".plugin", 215 ".plugin",