Mercurial > libervia-web
diff libervia/web/server/restricted_bridge.py @ 1534:49ad8dd210d0
server (restricted_bridge): add `message_send` method
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 22 Jun 2023 16:36:18 +0200 |
parents | eb00d593801d |
children | bc856e74f74d |
line wrap: on
line diff
--- a/libervia/web/server/restricted_bridge.py Thu Jun 22 16:36:18 2023 +0200 +++ b/libervia/web/server/restricted_bridge.py Thu Jun 22 16:36:18 2023 +0200 @@ -85,6 +85,15 @@ return await self.host.bridge_call( "identities_base_get", profile) + async def message_send( + self, to_jid_s, message, subject, mess_type, extra_s, + profile + ): + self.no_service_profile(profile) + return await self.host.bridge_call( + "message_send", to_jid_s, message, subject, mess_type, extra_s, profile + ) + async def ps_node_delete(self, service_s, node, profile): self.no_service_profile(profile) return await self.host.bridge_call(