comparison sat/plugins/plugin_misc_lists.py @ 3469:c063cbb2ad6e

plugin lists: register `tickets_type` namespace
author Goffi <goffi@goffi.org>
date Sat, 27 Feb 2021 18:31:47 +0100
parents 54b9cdbeb335
children ca76767185e3
comparison
equal deleted inserted replaced
3468:36cac8e6f57d 3469:c063cbb2ad6e
208 log.info(_("Pubsub lists plugin initialization")) 208 log.info(_("Pubsub lists plugin initialization"))
209 self.host = host 209 self.host = host
210 self._s = self.host.plugins["XEP-0346"] 210 self._s = self.host.plugins["XEP-0346"]
211 self.namespace = self._s.getSubmittedNS(APP_NS_TICKETS) 211 self.namespace = self._s.getSubmittedNS(APP_NS_TICKETS)
212 host.registerNamespace("tickets", APP_NS_TICKETS) 212 host.registerNamespace("tickets", APP_NS_TICKETS)
213 host.registerNamespace("tickets_type", NS_TICKETS_TYPE)
213 self.host.plugins["PUBSUB_INVITATION"].register( 214 self.host.plugins["PUBSUB_INVITATION"].register(
214 APP_NS_TICKETS, self 215 APP_NS_TICKETS, self
215 ) 216 )
216 self._p = self.host.plugins["XEP-0060"] 217 self._p = self.host.plugins["XEP-0060"]
217 self._m = self.host.plugins["XEP-0277"] 218 self._m = self.host.plugins["XEP-0277"]