From e25f9def1bcc7a290f3f32f1222bc63d8cc9ca22 Mon Sep 17 00:00:00 2001 From: souliane Date: Mon, 22 Feb 2016 14:33:47 +0100 Subject: [PATCH] plugin XEP-0277: add a forgotten string to JID conversion --- src/plugins/plugin_xep_0277.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_xep_0277.py b/src/plugins/plugin_xep_0277.py index f1e57689..c2200256 100755 --- a/src/plugins/plugin_xep_0277.py +++ b/src/plugins/plugin_xep_0277.py @@ -513,7 +513,7 @@ class XEP_0277(object): 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)