changeset 1850:6e547dd7f38c

plugin XEP-0277: add a forgotten string to JID conversion
author souliane <souliane@mailoo.org>
date Mon, 22 Feb 2016 14:33:47 +0100
parents a754d6381550
children ff603003d40a
files src/plugins/plugin_xep_0277.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0277.py	Mon Feb 22 13:44:14 2016 +0100
+++ b/src/plugins/plugin_xep_0277.py	Mon Feb 22 14:33:47 2016 +0100
@@ -513,7 +513,7 @@
                 raise exceptions.DataError(u"if comments_node is present, it must not be empty")
 
         try:
-            comments_service = mb_data['comments_service']
+            comments_service = jid.JID(mb_data['comments_service'])
         except KeyError:
             comments_service = self.getCommentsService(client, service)