fix: update QQNT anti-recall patterns#1193
Open
awaxiaoyu wants to merge 1 commit into
Open
Conversation
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.
标题
fix: 更新 QQNT 9.9.20 防撤回特征
概要
本 PR 更新 QQNT 防撤回特征,用于修复 QQNT
9.9.20-36330中“群聊防撤回生效,但私聊别人撤回仍会生效”的问题。变更内容
PatchVersion更新为2026062706。9.8.0.19000-9.8.0.19306的旧规则。9.8.0.19306-9.8.0.19307的专用规则。wrapper.node的 C2C 私聊被动撤回补丁。msg_recall_worker.cc中的私聊撤回通知处理路径。ModifyFinder,使其能够正确识别和处理“部分特征已替换、部分特征未替换”的情况。修复原因
QQNT 的私聊被动撤回和当前用户主动点击撤回走的是不同 native 路径。
之前如果 patch
MsgRecallMgr::RecallMsg,只会影响“自己点击撤回”的主动撤回流程,无法阻止别人撤回消息时下发的 C2C recall notify。本次新增的特征针对 C2C 私聊被动撤回 handler,阻断撤回通知继续分发,同时保留函数后续清理逻辑。
验证结果
已在 QQNT
9.9.20-36330 (64-bit)测试:patch.json与内置Resources.resx补丁数据已同步。RevokeMsgPatcher.exe。版本更新说明
后续 QQNT 更新后,如果该特征失效,可以通过搜索以下字符串重新定位私聊被动撤回路径: