From 238f05f453743f98bcbacde2bcd25c334bb57fd7 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Sat, 7 Oct 2023 10:50:59 +0800 Subject: [PATCH] fix: summary plugin group enable bug --- plugins/linkai/linkai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/linkai/linkai.py b/plugins/linkai/linkai.py index 79be1bd..f791cc4 100644 --- a/plugins/linkai/linkai.py +++ b/plugins/linkai/linkai.py @@ -186,7 +186,7 @@ class LinkAI(Plugin): def _is_summary_open(self, context) -> bool: if not self.sum_config or not self.sum_config.get("enabled"): return False - if not context.kwargs.get("isgroup") and not self.sum_config.get("group_enabled"): + if context.kwargs.get("isgroup") and not self.sum_config.get("group_enabled"): return False return True