Skip to content

Commit

Permalink
Merge pull request #1389 from scut-chenzk/chenzk
Browse files Browse the repository at this point in the history
修复自己艾特自己会死循环的问题
  • Loading branch information
zhayujie authored Sep 1, 2023
2 parents ffbc508 + 89f4382 commit dedf976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channel/chat_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _compose_context(self, ctype: ContextType, content, **kwargs):
flag = True
if match_prefix:
content = content.replace(match_prefix, "", 1).strip()
if context["msg"].is_at:
if context["msg"].is_at and context["msg"].to_user_id != context["msg"].actual_user_id:
logger.info("[WX]receive group at")
if not conf().get("group_at_off", False):
flag = True
Expand Down

0 comments on commit dedf976

Please sign in to comment.