1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-25 04:50:26 +08:00

Fix build

This commit is contained in:
Him188 2020-12-02 12:12:18 +08:00
parent dc00c84820
commit 6667d94277

View File

@ -150,8 +150,9 @@ public sealed class MessageSource : Message, MessageMetadata, ConstrainSingle<Me
*/
@JvmStatic
@JvmBlockingBridge
public suspend inline fun MessageSource.recall() {
Mirai.recallMessage(bot, this@recall)
public suspend fun MessageSource.recall() {
// don't inline, compilation error
Mirai.recallMessage(bot, this)
}
/**