chore: sync current WechatHookBot workspace
This commit is contained in:
@@ -139,13 +139,8 @@ class HookBot:
|
||||
)
|
||||
return
|
||||
|
||||
# 5. 格式转换
|
||||
try:
|
||||
message = normalize_message(msg_type, data)
|
||||
except Exception as e:
|
||||
logger.error(f"格式转换失败: {e}")
|
||||
self._stats.record_error()
|
||||
return
|
||||
# 5. 消息已在 bot.py 中标准化,直接使用
|
||||
message = data
|
||||
|
||||
# 6. 过滤检查
|
||||
if not self._filter.should_process(message):
|
||||
|
||||
Reference in New Issue
Block a user