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

修复发送消息时实际发送的消息会忽略通过 MessagePreSendEvent 所进行的修改 #2525

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

NoMathExpectation
Copy link
Contributor

@NoMathExpectation NoMathExpectation commented Feb 22, 2023

MessagePreSendEventmessage 属性注释了 待发送的消息 修改后将会同时应用于发送 。然而在实际情况下,发送消息时会忽略修改过的消息而使用原消息,所以在此修复。

@Him188 Him188 self-requested a review February 22, 2023 11:55
@Him188 Him188 added t:bug 类型: bug N 优先级: 一般 s:core 子系统: mirai-core labels Feb 22, 2023
@Him188 Him188 added this to the 2.15.0-RC milestone Feb 22, 2023
@Him188 Him188 merged commit 64f8094 into mamoe:dev Mar 21, 2023
StageGuard pushed a commit to StageGuard/mirai that referenced this pull request Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
N 优先级: 一般 s:core 子系统: mirai-core t:bug 类型: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants