changeset 2474:e04c874ace79

core: 'x-data' namespace is now registered
author Goffi <goffi@goffi.org>
date Fri, 19 Jan 2018 17:39:38 +0100
parents 447c3de6b9e5
children efd7a24d611c
files src/core/sat_main.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/sat_main.py	Sat Jan 13 10:12:15 2018 +0100
+++ b/src/core/sat_main.py	Fri Jan 19 17:39:38 2018 +0100
@@ -55,8 +55,8 @@
         self.initialised = defer.Deferred()
         self.profiles = {}
         self.plugins = {}
-        self._ns_map = {}  # map for short name to whole namespace
-
+        self._ns_map = {u'x-data': u'jabber:x:data'}  # map for short name to whole namespace,
+                                                      # extended by plugins with registerNamespace
         self.memory = Memory(self)
         self.trigger = trigger.TriggerManager()  # trigger are used to change SàT behaviour