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

机器人无法获取其他端的同步消息(2.8.0开始引入的bug) #1702

Closed
ChanFeei opened this issue Nov 28, 2021 · 4 comments
Closed
Labels
z:duplicate 状态: 重复

Comments

@ChanFeei
Copy link

问题描述

【注:该BUG从2.8.0后引入,在2.7.1之前没问题。】

用机器人的qq号给好友发消息,机器人无法同步这个消息,也无法捕获到MessageSyncEvent,代码:
@eventhandler
public ListeningStatus onSyncMessage(MessageSyncEvent event) {
System.out.println("Event: "+event.toString());
return ListeningStatus.LISTENING;
}

复现

1,用ANDROID_PAD启动机器人
2,用这个机器人的账密登陆手机QQ
3,用手机qq给其他好友发送一条消息
4,问题出现:机器人无法抛出MessageSyncEvent

mirai-core 版本

2.8.0

bot-protocol

ANDROID_PAD

其他组件版本

系统日志

�[0m2021-11-28 15:24:48 V/Net 3625884478: Recv: OnlinePush.PbC2CMsgSync�[0m
�[0m2021-11-28 15:24:57 V/Net 3625884478: Recv: OnlinePush.PbC2CMsgSync�[0m

网络日志

补充信息

No response

@ChanFeei ChanFeei added the x:question 标签: 需要更多信息 label Nov 28, 2021
@Him188
Copy link
Member

Him188 commented Nov 28, 2021

已在 dev 2.9.0-RC 5b16414 复现

@Him188 Him188 added t:bug 类型: bug M 优先级: 主要 and removed x:question 标签: 需要更多信息 labels Nov 28, 2021
@Him188 Him188 added this to the 2.8.3 milestone Nov 28, 2021
@Him188
Copy link
Member

Him188 commented Nov 28, 2021

Target: 2.8.3, 2.9.0-RC

@Him188 Him188 added this to 2.9.0-RC Nov 28, 2021
@Him188 Him188 moved this to Todo in 2.9.0-RC Nov 28, 2021
@Him188 Him188 moved this from Todo to In Progress in 2.9.0-RC Nov 28, 2021
@Him188 Him188 added this to 2.8.3 Nov 28, 2021
@Him188 Him188 moved this to In Progress in 2.8.3 Nov 28, 2021
@Him188 Him188 modified the milestones: 2.8.3, 2.9.0-RC Nov 28, 2021
@Him188
Copy link
Member

Him188 commented Nov 28, 2021

Note:
image

network/notice/priv/PrivateMessageProcessor.kt:75

@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 21, 2021

#1624 相同

@Him188 Him188 closed this as completed Dec 21, 2021
Repository owner moved this from In Progress to Fixed in 2.8.3 Dec 21, 2021
Repository owner moved this from In Progress to Fixed in 2.9.0-RC Dec 21, 2021
@Him188 Him188 removed this from the 2.8.4 milestone Dec 21, 2021
@Him188 Him188 added z:duplicate 状态: 重复 and removed t:bug 类型: bug M 优先级: 主要 labels Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
z:duplicate 状态: 重复
Projects
No open projects
Status: Fixed
Status: Fixed
Development

No branches or pull requests

2 participants