diff libervia/web/server/restricted_bridge.py @ 1624:fd421f1be8f5 default tip

browser (blog): blog redesign first draft: Redesign the blog in the same spirit as the chat, with a left panel to search/open new blogs, so there is no "selection" page anymore. Reactions are now managed.
author Goffi <goffi@goffi.org>
date Wed, 21 May 2025 15:58:56 +0200
parents a2cd4222c702
children
line wrap: on
line diff
--- a/libervia/web/server/restricted_bridge.py	Wed May 21 15:57:21 2025 +0200
+++ b/libervia/web/server/restricted_bridge.py	Wed May 21 15:58:56 2025 +0200
@@ -365,6 +365,22 @@
             "jid_search", search_term, options_s, profile
         )
 
+    async def ps_attachments_get(
+        self, service_s: str, node: str, item: str, senders_s: list[str], extra_s: str,
+        profile: str
+    ) -> None:
+        return await self.host.bridge_call(
+            "ps_attachments_get", service_s, node, item, senders_s, extra_s, profile
+        )
+
+    async def ps_attachments_set(
+        self, attachments_s: str, profile: str
+    ) -> None:
+        self.no_service_profile(profile)
+        return await self.host.bridge_call(
+            "ps_attachments_set", attachments_s, profile
+        )
+
     async def remote_control_start(
         self, peer_jid_s: str, extra_s: str, profile: str
     ) -> None: