Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

撤回未生效 #50

Open
don-fon opened this issue Mar 21, 2024 · 5 comments
Open

撤回未生效 #50

don-fon opened this issue Mar 21, 2024 · 5 comments

Comments

@don-fon
Copy link
Contributor

don-fon commented Mar 21, 2024

普通私聊,纯文本消息,发送并收到两秒后撤回。
日志中似乎是生效了,但实际上仍只显示“对方撤回了一条消息”。

日志如下:

PS D:\Tencent\QQ NT> ./QQ
PS D:\Tencent\QQ NT> not mini app.
[preload] process type:
[app]module file name: D:\Tencent\QQ NT\QQ.exe
[preload] hotupdate base version: 9.9.8-22165
[preload] hotupdate current version: 9.9.8-22165
[preload] install app version: 9.9.8-22165

[preload] succeeded. D:\Tencent\QQ NT\resources\app\versions\9.9.8-22165\major.node
[preload] succeeded. D:\Tencent\QQ NT\resources\app\app_launcher\launcher.node
[preload] succeeded. D:\Tencent\QQ NT\resources\app\versions\9.9.8-22165\wrapper.node
[LiteLoader] Start finding all plugins.
[LiteLoader] Found plugin: 闃叉挙鍥?[LiteLoader] Found 1 plugins, start loading plugins.
[preload] register done. launcher.node
[preload] register done. major.node
Error occurred in handler for 'get-remote-win': Error: No handler registered for 'get-remote-win'
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:86829)
    at WebContents.emit (node:events:517:28)
[preload] register done. wrapper.node
Anti-Recall: NTQQ Anti-Recall loaded for window: app://./renderer/index.html?webcontentsid=2&processGroupNS=createBlankWindow1#/main/message
[app]module file name: D:\Tencent\QQ NT\QQ.exe
cc621fe1e05be5a530ed8eea572ce7115a8227bb3d049b3be59707768387890a
0679e503562cd4f0d1319ae0e876bea364f2d59d53050bbc87e3c4453c668a06
error code v2:-8
00:06:54.338 > [hot update] hotUpdateApi checkHasMultipleQQ false
00:06:54.339 > [hot update] hotUpdateApi start clearOldVersions
00:06:54.340 > [hot update] hotUpdateApi curVersionZipPath is: D:\Tencent\QQ NT\resources\app\versions\9.9.8-22165.zip false
00:06:54.383 > [hot update] hotUpdateApi checkHasMultipleQQ false
00:06:54.384 > [hot update] hotUpdateApi checkIsOnErrorVersion 9.9.8-22165
00:06:54.384 > [hot update] hotUpdateApi checkIsOnErrorVersion res is false
Anti-Recall: Detected recall, intercepted
Anti-Recall: Detected recall, intercepted

一开始还有更多报错,mkdir、Db is null之类的,用管理员权限打开、并设置saveDb=true后报错少了,但还是没效果。
“Found plugin: 闃叉挙鍥”在终端里就是乱码,明明我文件夹名称“qq-anti-recall”没有中文。

@don-fon
Copy link
Contributor Author

don-fon commented Mar 21, 2024

LiteLoaderQQNT版本1.03,仅安装了这一个插件,所有设置都没有改过

@zss823158062
Copy link

你是更新了最新的qq了吧;新版有改动,等大佬更新插件吧

@don-fon
Copy link
Contributor Author

don-fon commented Mar 22, 2024

自己尝试改了一下代码,貌似能用了

改动1:

args1.cmdName.indexOf("onRecvMsg") != -1

变为

args1.cmdName.indexOf("onRecvActiveMsg") != -1

改动2:

args1.cmdName.indexOf("onMsgInfoListUpdate") != -1

变为

args1.cmdName.indexOf("onActiveMsgInfoUpdate") != -1

接收消息时只得到了onRecvActiveMsg,而没有onRecvMsg
撤回消息时依次得到了onActiveMsgInfoUpdateonMsgInfoListUpdate,修改后者似乎没有效果

@zss823158062
Copy link

api修改了;对应的样式id也修改了,无伤大雅

@xh321
Copy link
Owner

xh321 commented Mar 23, 2024

先合并了pr,等有空我再完善一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants