Mercurial > libervia-backend
comparison sat/plugins/plugin_xep_0424.py @ 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 | 6952a002abc7 |
children | 524856bd7b19 |
comparison
equal
deleted
inserted
replaced
3886:1f88ca90c3de | 3887:6090141b1b70 |
---|---|
74 self._h = host.plugins["XEP-0334"] | 74 self._h = host.plugins["XEP-0334"] |
75 self._f = host.plugins["XEP-0422"] | 75 self._f = host.plugins["XEP-0422"] |
76 host.registerNamespace("message-retract", NS_MESSAGE_RETRACT) | 76 host.registerNamespace("message-retract", NS_MESSAGE_RETRACT) |
77 host.trigger.add("messageReceived", self._messageReceivedTrigger, 100) | 77 host.trigger.add("messageReceived", self._messageReceivedTrigger, 100) |
78 host.bridge.addMethod( | 78 host.bridge.addMethod( |
79 "messRetract", | 79 "messageRetract", |
80 ".plugin", | 80 ".plugin", |
81 in_sign="ss", | 81 in_sign="ss", |
82 out_sign="", | 82 out_sign="", |
83 method=self._retract, | 83 method=self._retract, |
84 async_=True, | 84 async_=True, |