diff src/plugins/plugin_xep_0277.py @ 2437:91bbad17fd53

plugins blog import, tickets import, XEP-0277: fixed call to getCommentsService (it is now returning a Deferred)
author Goffi <goffi@goffi.org>
date Thu, 16 Nov 2017 07:31:00 +0100
parents 014feb75092d
children efd7a24d611c
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0277.py	Wed Nov 15 21:15:42 2017 +0100
+++ b/src/plugins/plugin_xep_0277.py	Thu Nov 16 07:31:00 2017 +0100
@@ -541,7 +541,7 @@
         try:
             comments_service = jid.JID(mb_data['comments_service'])
         except KeyError:
-            comments_service = self.getCommentsService(client, service)
+            comments_service = yield self.getCommentsService(client, service)
 
         try:
             yield self._p.createNode(client, comments_service, comments_node, options)