-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
好友修改昵称时有正确广播事件但没有修改 Friend 的属性 #1674
Comments
这个问题修过了(b0e25a5 ) 理论上不存在这种行为 mirai/mirai-core/src/commonMain/kotlin/network/notice/priv/FriendNoticeProcessor.kt Lines 200 to 212 in b0e25a5
|
请问是2.8.0版本么 我再去验证一下 |
发现bug原因了 会发送PR修复 |
* Fix #1674, apply right nick and remark impl for contact design * Fix build, add missed member impl * Fix wrong delegate in AbstractMember impl Co-authored-by: sandtechnology <[email protected]> Co-authored-by: Him188 <[email protected]>
现在将BOT的好友,昵称为A修改为昵称B,会在console显示事件
Event: FriendNickChangedEvent(friend=Friend(XXX), from=A, to=B)
但是如果尝试将昵称从B修改回A则不会触发 而且有个细节是 如果从昵称B直接修改为昵称C 触发的事件记录如下图所示
Event: FriendNickChangedEvent(friend=Friend(XXX), from=A, to=C)
复现
1.将BOT的好友昵称从A修改为B
2.再将该好友的昵称从B修改为A(或者修改为C也可)
版本及相关选项选择
2.8.0
ANDROID_PAD
2.3.0
网络日志
补充信息
The text was updated successfully, but these errors were encountered: