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(