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

安卓客户端发送的 Quoto 中 message source id 有误 #2495

Closed
ryoii opened this issue Feb 11, 2023 · 0 comments · Fixed by #2513
Closed

安卓客户端发送的 Quoto 中 message source id 有误 #2495

ryoii opened this issue Feb 11, 2023 · 0 comments · Fixed by #2513
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:bug 类型: bug
Milestone

Comments

@ryoii
Copy link
Member

ryoii commented Feb 11, 2023

问题描述

使用安卓客户端发送引用回复消息,Quoto 消息中的原 messageId 和原消息中的 messageId 不一致

该问题仅在安卓客户端的好友消息中发现

正确的 messageId 与 错误的 messageId 互为 16位补码,推测转为 messageId 的 Int 类型时有误

复现

  1. 使用 bot 发送好友消息,获得该消息 messageId 为 A
  2. 安卓客户端引用该消息回复
  3. bot 收到回复消息中,Quoto 中 source 的 messageId 为 B

两次 messageId 不一致,且 A B 互为16位补码

mirai-core 版本

2.14.0

bot-protocol

ANDROID_PHONE

其他组件版本

No response

系统日志

No response

网络日志

No response

补充信息

project-mirai/mirai-api-http#682

@Him188 Him188 added t:bug 类型: bug M 优先级: 主要 s:core 子系统: mirai-core labels Feb 12, 2023
@Him188 Him188 added this to the Backlog milestone Feb 12, 2023
@Karlatemp Karlatemp linked a pull request Feb 17, 2023 that will close this issue
@Him188 Him188 modified the milestones: Backlog, 2.15.0-RC Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:bug 类型: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants