Skip to content

Commit

Permalink
fix: summary switch bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhayujie committed May 14, 2024
1 parent 2c6583c commit b09b46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/linkai/linkai.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _is_summary_open(self, context) -> bool:
if context.kwargs.get("isgroup") and not self.sum_config.get("group_enabled"):
return False
support_type = self.sum_config.get("type") or ["FILE", "SHARING"]
if context.type.name not in support_type:
if context.type.name not in support_type and context.type.name != "TEXT":
return False
return True

Expand Down

0 comments on commit b09b46c

Please sign in to comment.