plugin events: register namespace using "event" short name

This commit is contained in:
Goffi 2019-05-03 20:42:21 +02:00
commit bd54aec282

View file

@ -60,6 +60,7 @@ class Events(object):
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(