From 0d98f473480d78eb88aedc0674f009f1749c3f2f Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 29 May 2020 17:09:52 +0800 Subject: [PATCH] Fix `FlashImage.toString` --- .../kotlin/net.mamoe.mirai/message/data/HummerMessage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/HummerMessage.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/HummerMessage.kt index 6c402b688..201cf26a8 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/HummerMessage.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/HummerMessage.kt @@ -282,7 +282,7 @@ sealed class FlashImage : MessageContent, HummerMessage() { } } - override fun toString(): String = stringValue!! + final override fun toString(): String = stringValue!! override fun contentToString(): String = "[闪照]" }