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

修复事件中接收的 MessageContent 中, referenceMessage 的行为与 reference 不一致,会错误地获取自身消息详情而非引用消息详情的问题 #175

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

ForliyScarlet
Copy link
Member

fix #174

需要注意的是之前的版本同样错误地将 referenceMessage 的返回值定义为了 non-null, 但是本次变更后会恢复为 nullable, 可能会由此引发源码不兼容的问题

…nce` 不一致,会错误地获取自身消息详情而非引用消息详情的问题
@ForliyScarlet ForliyScarlet added the bug Something isn't working label Aug 29, 2024
@ForliyScarlet
Copy link
Member Author

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@ForteScarlet ForteScarlet merged commit e61ca36 into dev/main Aug 29, 2024
4 checks passed
@ForteScarlet ForteScarlet deleted the dev/fix-174 branch August 29, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MessageContent 的被引用消息指向的是消息本身而不是被引用的消息
2 participants