changeset 2475:efd7a24d611c

plugin XEP-0277: microblog namespace is now registered
author Goffi <goffi@goffi.org>
date Fri, 19 Jan 2018 17:40:06 +0100
parents e04c874ace79
children 6607bb29ab7b
files src/plugins/plugin_xep_0277.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0277.py	Fri Jan 19 17:39:38 2018 +0100
+++ b/src/plugins/plugin_xep_0277.py	Fri Jan 19 17:40:06 2018 +0100
@@ -71,6 +71,7 @@
     def __init__(self, host):
         log.info(_(u"Microblogging plugin initialization"))
         self.host = host
+        host.registerNamespace('microblog', NS_MICROBLOG)
         self._p = self.host.plugins["XEP-0060"] # this facilitate the access to pubsub plugin
         self.rt_sessions = sat_defer.RTDeferredSessions()
         self.host.plugins["XEP-0060"].addManagedNode(NS_MICROBLOG, items_cb=self._itemsReceived)