plugin XEP-0060: renamed psRetractItem(s) to psItem(s)Retract for consistency.

This commit is contained in:
Goffi 2021-02-19 15:53:27 +01:00
commit 96d229abdb
2 changed files with 4 additions and 4 deletions

View file

@ -214,7 +214,7 @@ class XEP_0060(object):
async_=True, async_=True,
) )
host.bridge.addMethod( host.bridge.addMethod(
"psRetractItem", "psItemRetract",
".plugin", ".plugin",
in_sign="sssbs", in_sign="sssbs",
out_sign="", out_sign="",
@ -222,7 +222,7 @@ class XEP_0060(object):
async_=True, async_=True,
) )
host.bridge.addMethod( host.bridge.addMethod(
"psRetractItems", "psItemsRetract",
".plugin", ".plugin",
in_sign="ssasbs", in_sign="ssasbs",
out_sign="", out_sign="",

View file

@ -878,7 +878,7 @@ class Delete(base.CommandBase):
) )
await self.host.confirmOrQuit(message, _("item deletion cancelled")) await self.host.confirmOrQuit(message, _("item deletion cancelled"))
try: try:
await self.host.bridge.psRetractItem( await self.host.bridge.psItemRetract(
self.args.service, self.args.service,
self.args.node, self.args.node,
self.args.item, self.args.item,
@ -1688,7 +1688,7 @@ class Transform(base.CommandBase):
self.disp(_(f"Deleting item {item_id}")) self.disp(_(f"Deleting item {item_id}"))
if self.args.apply: if self.args.apply:
try: try:
await self.host.bridge.psRetractItem( await self.host.bridge.psItemRetract(
self.args.service, self.args.service,
self.args.node, self.args.node,
item_id, item_id,