diff sat_frontends/jp/cmd_pubsub.py @ 3467:5901a7170528

plugin XEP-0060: renamed `psRetractItem(s)` to `psItem(s)Retract` for consistency.
author Goffi <goffi@goffi.org>
date Fri, 19 Feb 2021 15:53:27 +0100
parents 864485605d12
children be6d91572633
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_pubsub.py	Fri Feb 19 15:53:25 2021 +0100
+++ b/sat_frontends/jp/cmd_pubsub.py	Fri Feb 19 15:53:27 2021 +0100
@@ -878,7 +878,7 @@
             )
             await self.host.confirmOrQuit(message, _("item deletion cancelled"))
         try:
-            await self.host.bridge.psRetractItem(
+            await self.host.bridge.psItemRetract(
                 self.args.service,
                 self.args.node,
                 self.args.item,
@@ -1688,7 +1688,7 @@
                 self.disp(_(f"Deleting item {item_id}"))
                 if self.args.apply:
                     try:
-                        await self.host.bridge.psRetractItem(
+                        await self.host.bridge.psItemRetract(
                             self.args.service,
                             self.args.node,
                             item_id,