Repository navigation
Conversation
Contributor
|
Contributor
|
All contributors have signed the CLA. ✅ 所有贡献者均已签署 CLA。 |
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述 / Overview
增强 WeChatPad 平台适配器的稳定性与功能:
AddMsgs) 调度:WebSocket 收到包含AddMsgs数组的同步信封时,逐条调度到主事件循环并复用有界回调与停止清理机制。wechatpad_message_guard.py):新增WeChatPadMessageDeduplicator,基于消息 ID / 复合指纹对重复推送进行 TTL 去重,并忽略群聊历史图片占位重放。<msgsource>@提及解析:兼容外层 XML 包裹的<msgsource><atuserlist>...</atuserlist></msgsource>,确保群聊@提及正常触发。auto_accept_friend):默认关闭(false),开启后支持解析msg_type == 37好友申请 XML,通过AgreeAdd接口(含群聊来源chatroom_user_name上下文)自动接受并校验返回码。检查清单 / Checklist
PR 作者完成 / For PR author