diff frontends/src/quick_frontend/quick_blog.py @ 2218:6a2fa651d7fa

plugin XEP-0060: node create/delete improvments: - use client instead of profile for createNode and deleteNode - new bridge method psCreateNode - renamed psDeleteNode to psNodeDelete
author Goffi <goffi@goffi.org>
date Mon, 03 Apr 2017 00:22:58 +0200
parents 2daf7b4c6756
children 8b37a62336c3
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_blog.py	Mon Apr 03 00:13:33 2017 +0200
+++ b/frontends/src/quick_frontend/quick_blog.py	Mon Apr 03 00:22:58 2017 +0200
@@ -316,7 +316,7 @@
         """
         # TODO: manage several comments nodes case.
         if self.item.comments:
-            self.blog.host.bridge.psDeleteNode(unicode(self.item.comments_service) or "", self.item.comments_node, profile=self.blog.profile)
+            self.blog.host.bridge.psNodeDelete(unicode(self.item.comments_service) or "", self.item.comments_node, profile=self.blog.profile)
         self.blog.host.bridge.mbRetract(unicode(self.service or ""), self.node or "", self.item.id, profile=self.blog.profile)