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

bot收到的回复bot发送的消息中,Quote里的messageId有误 #682

Closed
Jadlokin-Scarlet opened this issue Feb 11, 2023 · 5 comments
Closed
Labels
core-update-need Require mirai update to fix

Comments

@Jadlokin-Scarlet
Copy link

bot发送好友消息后,主人在安卓端回复bot的消息,bot收到的回复消息中,Quote里的messageId和bot发送好友消息时的返回的messageId不一致。
ps:QQpc端回复没问题

  1. bot发送好友消息
    image
    image
  2. 主人在QQ安卓端回复bot消息(图一为pc端回复是正确的,图二是安卓端回复,messageId是不对的)
    image
    image
@ryoii
Copy link
Collaborator

ryoii commented Feb 11, 2023

从日志上看,从 core 上获取到引用里的 messageId 就已经带负数了,我怀疑是 core 的问题

@ryoii
Copy link
Collaborator

ryoii commented Feb 11, 2023

从其他 issue 反馈上看,这个出现负数的 messageId 貌似都会出现错误值的情况

@Jadlokin-Scarlet
Copy link
Author

需要在mirai那边再提一个issue吗

@ryoii
Copy link
Collaborator

ryoii commented Feb 11, 2023

我用 core 复现一下

@ryoii
Copy link
Collaborator

ryoii commented Feb 11, 2023

我复现了,确实是 core 的问题,而且引用中错误的 messageId 会是正确 messageId 的 16 位补码,推断是 core 对好友引用消息的 messageId 生成错误了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-update-need Require mirai update to fix
Projects
None yet
Development

No branches or pull requests

2 participants