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

好友无法消息同步(FriendMessageSyncEvent) #1624

Closed
KurenaiRyu opened this issue Oct 26, 2021 · 4 comments
Closed

好友无法消息同步(FriendMessageSyncEvent) #1624

KurenaiRyu opened this issue Oct 26, 2021 · 4 comments
Labels
M 优先级: 主要 t:bug 类型: bug
Milestone

Comments

@KurenaiRyu
Copy link

KurenaiRyu commented Oct 26, 2021

在PC端或者手机端发送好友消息后,bot无法接收到同步事件FriendMessageSyncEvent。

2021-10-26 23:39:36 V/Bot XXXXXXXXX: [XXXXXXXXX] XXXXXXXXX -> [mirai:image:{3D5EB8B3-AC61-C1BE-AF68-70D6232040D4}.jpg]
2021-10-26 23:39:41 V/Bot XXXXXXXXX: [XXXXXXXXX] XXXXXXXXX -> xxxxxxx
2021-10-26 23:40:00 V/Net XXXXXXXXX: Recv: OnlinePush.PbC2CMsgSync
2021-10-26 23:40:09 V/Net XXXXXXXXX: Recv: OnlinePush.PbC2CMsgSync
2021-10-26 23:40:18 V/Bot XXXXXXXXX: [XXXXXXXXX] XXXXXXXXX -> XXXXXXXXX
2021-10-26 23:40:20 V/Bot XXXXXXXXX: [XXXXXXXXX] XXXXXXXXX -> xxxxxxxxxxxxxxxxxxxx
2021-10-26 23:40:57 V/Bot XXXXXXXXX: [XXXXXXXXX] XXXXXXXXX -> [mirai:image:{C9A17B01-68A2-6110-5547-229CAC9847FC}.png]

复现

使用PC端(MOBILE_PC_QQ)或者手机端(MOBILE_ANDROID)向好友发送信息,而后控制台会打印上面的信息(但我不确定是不是由私聊引起的),但是并不会看到FriendMessageSyncEvent事件出现。

版本及相关选项选择

  • mirai-core: 2.8.0-M1
  • bot-protocol: ANDROID_PAD

网络日志

2021-10-26 23:40:00 V/Net XXXXXXXX: Recv: OnlinePush.PbC2CMsgSync
2021-10-26 23:40:09 V/Net XXXXXXXX: Recv: OnlinePush.PbC2CMsgSync

补充信息

相关代码

@KurenaiRyu KurenaiRyu added the x:question 标签: 需要更多信息 label Oct 26, 2021
@Him188 Him188 changed the title 好友无法消息同步(FriendSyncEvent) 好友无法消息同步(FriendMessageSyncEvent) Oct 28, 2021
@Him188 Him188 added M 优先级: 主要 t:problem 类型: 不容易归类为特性或 bug 的综合问题 x:protocol 属性: 协议相关 labels Oct 28, 2021
@Him188 Him188 added this to the Backlog milestone Oct 28, 2021
@Him188 Him188 modified the milestones: Backlog, 2.9.0-RC Nov 25, 2021
@Him188
Copy link
Member

Him188 commented Dec 6, 2021

使用2.7.1是否有这个问题?

@KurenaiRyu
Copy link
Author

KurenaiRyu commented Dec 6, 2021

使用2.7.1是否有这个问题?

应该没有问题,试了几次都能接收到,只是sender是好友不是自己感觉有点奇怪

@Him188 Him188 modified the milestones: 2.9.0-RC, 2.9.0, 2.8.4 Dec 10, 2021
@Him188
Copy link
Member

Him188 commented Dec 20, 2021

经测试, dev 2.10.0-RC 可以正常接收来自 macOS 官方客户端的群 sync 消息, 但不能接受好友 sync

Him188 added a commit that referenced this issue Dec 21, 2021
@Him188 Him188 added t:bug 类型: bug and removed x:question 标签: 需要更多信息 x:protocol 属性: 协议相关 t:problem 类型: 不容易归类为特性或 bug 的综合问题 labels Dec 21, 2021
@Him188 Him188 closed this as completed in 68ec6d5 Dec 21, 2021
Him188 added a commit that referenced this issue Dec 21, 2021
@Him188
Copy link
Member

Him188 commented Dec 21, 2021

由于这个修复有可能导致新的问题, 将包含在 2.10.0-RC

@Him188 Him188 modified the milestones: 2.8.4, 2.10.0-RC Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M 优先级: 主要 t:bug 类型: bug
Projects
None yet
Development

No branches or pull requests

2 participants