Skip to content

Commit dedf976

Browse files
authored
Merge pull request #1389 from scut-chenzk/chenzk
修复自己艾特自己会死循环的问题
2 parents ffbc508 + 89f4382 commit dedf976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channel/chat_channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def _compose_context(self, ctype: ContextType, content, **kwargs):
103103
flag = True
104104
if match_prefix:
105105
content = content.replace(match_prefix, "", 1).strip()
106-
if context["msg"].is_at:
106+
if context["msg"].is_at and context["msg"].to_user_id != context["msg"].actual_user_id:
107107
logger.info("[WX]receive group at")
108108
if not conf().get("group_at_off", False):
109109
flag = True

0 commit comments

Comments
 (0)