diff libervia/web/server/restricted_bridge.py @ 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 e47c24204449
children fe1995d0df09
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