plugin XEP-0424: rename bridge method:
``messRetract`` is renamed to ``messageRetract`` for consistency with other message bridge methods.
This commit is contained in:
parent
943ef29e90
commit
7ddf0241c6
2 changed files with 2 additions and 2 deletions
|
|
@ -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="",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue