mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-20 21:57:14 +08:00
修复自己艾特自己会死循环的问题
This commit is contained in:
@@ -103,7 +103,7 @@ class ChatChannel(Channel):
|
|||||||
flag = True
|
flag = True
|
||||||
if match_prefix:
|
if match_prefix:
|
||||||
content = content.replace(match_prefix, "", 1).strip()
|
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")
|
logger.info("[WX]receive group at")
|
||||||
if not conf().get("group_at_off", False):
|
if not conf().get("group_at_off", False):
|
||||||
flag = True
|
flag = True
|
||||||
|
|||||||
Reference in New Issue
Block a user