From 24243e917e6f506bea058e4efbedcfdd29f4105a Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 21 May 2022 16:03:59 +0100 Subject: [PATCH] Make FileMessage.toString more clear --- .../src/commonMain/kotlin/message/data/FileMessageImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/message/data/FileMessageImpl.kt b/mirai-core/src/commonMain/kotlin/message/data/FileMessageImpl.kt index 8b5fa62a5..98f0ef29f 100644 --- a/mirai-core/src/commonMain/kotlin/message/data/FileMessageImpl.kt +++ b/mirai-core/src/commonMain/kotlin/message/data/FileMessageImpl.kt @@ -85,5 +85,5 @@ internal data class FileMessageImpl( return folder.createChildFile(result.fileInfo) } - override fun toString(): String = "[mirai:file:$name,$id,$size,$busId]" + override fun toString(): String = "[mirai:file:$name, id=$id, internalId=$busId, size=$size]" } \ No newline at end of file