From 1a96c32c45c1a79640f084ead9be955735fbf17b Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 24 Aug 2026 11:43:31 +0200 Subject: [PATCH] plugin XEP-0433: Check frontend's `allow_external` option: To allow external search, there must now be both the general settings and the `allow_external` option set by frontend. --- libervia/backend/plugins/plugin_xep_0433.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libervia/backend/plugins/plugin_xep_0433.py b/libervia/backend/plugins/plugin_xep_0433.py index be64ecb0..bf9df6f6 100644 --- a/libervia/backend/plugins/plugin_xep_0433.py +++ b/libervia/backend/plugins/plugin_xep_0433.py @@ -292,7 +292,7 @@ class XEP_0433: sequence_matcher: difflib.SequenceMatcher, matches: plugin_misc_jid_search.SearchItems, ) -> bool: - if options.groupchat and self.allow_external: + if options.groupchat and self.allow_external and options.allow_external: log.debug(f"Search {search_term!r} at {self.group_chat_search_default_jid}.") try: external_items = await self.search(