Mercurial > libervia-web
comparison libervia/web/server/restricted_bridge.py @ 1546:7f3f5ae7d65a
browser (jid_search): implement a mechanism to get JIDs from search terms
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Jul 2023 12:11:17 +0200 |
parents | bc856e74f74d |
children | e47c24204449 |
comparison
equal
deleted
inserted
replaced
1545:be20e6ac9f22 | 1546:7f3f5ae7d65a |
---|---|
204 ): | 204 ): |
205 self.no_service_profile(profile) | 205 self.no_service_profile(profile) |
206 return await self.host.bridge_call( | 206 return await self.host.bridge_call( |
207 "url_preview_get", url, options_s, profile | 207 "url_preview_get", url, options_s, profile |
208 ) | 208 ) |
209 | |
210 async def jid_search( | |
211 self, search_term: str, options_s: str, profile: str | |
212 ) -> str: | |
213 self.no_service_profile(profile) | |
214 return await self.host.bridge_call( | |
215 "jid_search", search_term, options_s, profile | |
216 ) |