changeset 3887:6090141b1b70

plugin XEP-0424: rename bridge method: ``messRetract`` is renamed to ``messageRetract`` for consistency with other message bridge methods.
author Goffi <goffi@goffi.org>
date Wed, 31 Aug 2022 17:07:03 +0200
parents 1f88ca90c3de
children aa7197b67c26
files sat/plugins/plugin_xep_0424.py sat_frontends/jp/cmd_message.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0424.py	Wed Aug 31 17:07:03 2022 +0200
+++ b/sat/plugins/plugin_xep_0424.py	Wed Aug 31 17:07:03 2022 +0200
@@ -76,7 +76,7 @@
         host.registerNamespace("message-retract", NS_MESSAGE_RETRACT)
         host.trigger.add("messageReceived", self._messageReceivedTrigger, 100)
         host.bridge.addMethod(
-            "messRetract",
+            "messageRetract",
             ".plugin",
             in_sign="ss",
             out_sign="",
--- a/sat_frontends/jp/cmd_message.py	Wed Aug 31 17:07:03 2022 +0200
+++ b/sat_frontends/jp/cmd_message.py	Wed Aug 31 17:07:03 2022 +0200
@@ -200,7 +200,7 @@
 
     async def start(self):
         try:
-            await self.host.bridge.messRetract(
+            await self.host.bridge.messageRetract(
                 self.args.message_id,
                 self.profile
             )