plugin XEP-0424: rename bridge method:

``messRetract`` is renamed to ``messageRetract`` for consistency with other message bridge
methods.
This commit is contained in:
Goffi 2022-08-31 17:07:03 +02:00
commit 7ddf0241c6
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ class XEP_0424(object):
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="",

View file

@ -200,7 +200,7 @@ class Retract(base.CommandBase):
async def start(self):
try:
await self.host.bridge.messRetract(
await self.host.bridge.messageRetract(
self.args.message_id,
self.profile
)