mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-04-22 08:55:39 +08:00
feat: default close image summary
This commit is contained in:
@@ -192,9 +192,7 @@ class LinkAI(Plugin):
|
||||
return False
|
||||
if context.kwargs.get("isgroup") and not self.sum_config.get("group_enabled"):
|
||||
return False
|
||||
support_type = self.sum_config.get("type")
|
||||
if not support_type:
|
||||
return True
|
||||
support_type = self.sum_config.get("type") or ["FILE", "SHARING"]
|
||||
if context.type.name not in support_type:
|
||||
return False
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user