changeset 2759:607cfc79e40f

plugin XEP-0380: register namespace
author Goffi <goffi@goffi.org>
date Sun, 06 Jan 2019 17:34:56 +0100
parents f4070693814a
children 3480d4fdf83a
files sat/plugins/plugin_xep_0380.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0380.py	Sun Jan 06 17:33:53 2019 +0100
+++ b/sat/plugins/plugin_xep_0380.py	Sun Jan 06 17:34:56 2019 +0100
@@ -49,6 +49,7 @@
         self.host = host
         host.trigger.add("sendMessage", self._sendMessageTrigger)
         host.trigger.add("MessageReceived", self._MessageReceivedTrigger, priority=100)
+        host.registerNamespace(u"eme", NS_EME)
 
     def _addEMEElement(self, mess_data, namespace, name):
         message_elt = mess_data[u'xml']