diff --git a/mirai-core-api/src/commonMain/kotlin/message/data/QuoteReply.kt b/mirai-core-api/src/commonMain/kotlin/message/data/QuoteReply.kt index 4e23cf027..22aaa73ff 100644 --- a/mirai-core-api/src/commonMain/kotlin/message/data/QuoteReply.kt +++ b/mirai-core-api/src/commonMain/kotlin/message/data/QuoteReply.kt @@ -54,7 +54,7 @@ public data class QuoteReply( public override val key: MessageKey get() = Key public override fun toString(): String = - "[mirai:quote:${source.ids.contentToString()},${source.internalIds.contentToString()}]" + "[mirai:quote:$source, content=${if (source.isOriginalMessageInitialized) source.originalMessage.toString() else ""}]" public override fun equals(other: Any?): Boolean = other is QuoteReply && other.source == this.source public override fun hashCode(): Int = source.hashCode()