diff src/plugins/plugin_xep_0277.py @ 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 b3b25dbac585
children 3c0bb714a80b
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)