comparison libervia/web/server/restricted_bridge.py @ 1635:332822ceae85

browser (chat): Add rich editor, forward and extra recipients: A new "extra" menu is now available next to input field, allowing to toggle to rich editor. Rich editors allows message styling using bold, italic, underline, (un)numbered list and link. Other features will probably follow with time. An extra menu item allows to add recipients, with `to`, `cc` or `bcc` flag like for emails. Messages can now be forwarded to any entity with a new item in the 3 dots menu. rel 461
author Goffi <goffi@goffi.org>
date Fri, 04 Jul 2025 17:47:37 +0200
parents fd421f1be8f5
children
comparison
equal deleted inserted replaced
1634:6c6ab1a96b34 1635:332822ceae85
185 self.no_service_profile(profile) 185 self.no_service_profile(profile)
186 return await self.host.bridge_call( 186 return await self.host.bridge_call(
187 "message_edit", message_id, edit_data_s, profile 187 "message_edit", message_id, edit_data_s, profile
188 ) 188 )
189 189
190 async def message_forward(
191 self, message_id: str, recipient_jid: str, profile: str
192 ) -> None:
193 self.no_service_profile(profile)
194 return await self.host.bridge_call(
195 "message_forward", message_id, recipient_jid, profile
196 )
197
190 async def message_reactions_set( 198 async def message_reactions_set(
191 self, message_id: str, reactions: list[str], update_type: str, profile: str 199 self, message_id: str, reactions: list[str], update_type: str, profile: str
192 ) -> None: 200 ) -> None:
193 self.no_service_profile(profile) 201 self.no_service_profile(profile)
194 return await self.host.bridge_call( 202 return await self.host.bridge_call(