Mercurial > libervia-web
changeset 1576:c7d15ded4cbb
server (restricted_bridge): add `message_reactions_set` method.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 22 Nov 2023 16:31:36 +0100 |
parents | 9e3f7bf55749 |
children | 9ba532041a8e |
files | libervia/web/server/restricted_bridge.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/web/server/restricted_bridge.py Wed Nov 22 16:31:36 2023 +0100 +++ b/libervia/web/server/restricted_bridge.py Wed Nov 22 16:31:36 2023 +0100 @@ -101,6 +101,13 @@ return await self.host.bridge_call( "identities_base_get", profile) + async def message_reactions_set( + self, message_id: str, reactions: list[str], update_type: str, profile: str + ) -> None: + return await self.host.bridge_call( + "message_reactions_set", message_id, reactions, update_type, profile + ) + async def message_send( self, to_jid_s, message, subject, mess_type, extra_s, profile