From 3937bca234f6f9d30a820ff5b2da97578f6d4fc1 Mon Sep 17 00:00:00 2001
From: StageGuard <45701251+StageGuard@users.noreply.github.com>
Date: Fri, 8 Sep 2023 00:43:46 +0800
Subject: [PATCH] [core] fix OnlineShortVideoInternal refine log

---
 mirai-core/src/commonMain/kotlin/message/data/shortVideo.kt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mirai-core/src/commonMain/kotlin/message/data/shortVideo.kt b/mirai-core/src/commonMain/kotlin/message/data/shortVideo.kt
index 21fd167e0..1f6ea5b34 100644
--- a/mirai-core/src/commonMain/kotlin/message/data/shortVideo.kt
+++ b/mirai-core/src/commonMain/kotlin/message/data/shortVideo.kt
@@ -44,7 +44,7 @@ internal class OnlineShortVideoMsgInternal(
 
         val contact = when (sourceKind) {
             MessageSourceKind.FRIEND -> bot.getFriend(fromId) ?: error("Cannot find friend $fromId.")
-            MessageSourceKind.GROUP -> bot.getGroup(groupId) ?: error("Cannot find group $fromId.")
+            MessageSourceKind.GROUP -> bot.getGroup(groupId) ?: error("Cannot find group $groupId.")
             else -> return null // ignore processing stranger's video message
         }
         val sender = when (sourceKind) {
@@ -238,4 +238,4 @@ internal class OfflineShortVideoImpl(
         result = 31 * result + thumbnail.hashCode()
         return result
     }
-}
\ No newline at end of file
+}