changeset 2935:4f600b4ae819

plugin events: register namespace using "event" short name
author Goffi <goffi@goffi.org>
date Fri, 03 May 2019 20:42:21 +0200
parents 0bafdbda7f5f
children 782612c7854b
files sat/plugins/plugin_exp_events.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_exp_events.py	Fri May 03 20:41:28 2019 +0200
+++ b/sat/plugins/plugin_exp_events.py	Fri May 03 20:42:21 2019 +0200
@@ -60,6 +60,7 @@
         self._p = self.host.plugins["XEP-0060"]
         self._i = self.host.plugins.get("EMAIL_INVITATION")
         self._b = self.host.plugins.get("XEP-0277")
+        self.host.registerNamespace(u"event", NS_EVENT)
         self.host.plugins[u"INVITATION"].registerNamespace(NS_EVENT,
                                                            self.register)
         host.bridge.addMethod(