From 227d4e51d46367bb0ce4405023c0b3698a529d34 Mon Sep 17 00:00:00 2001 From: ryoii Date: Sat, 25 Apr 2020 18:29:47 +0800 Subject: [PATCH] Fix: group code parse error, close #246 --- .../network/protocol/packet/chat/receive/MessageSvc.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/MessageSvc.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/MessageSvc.kt index 61f499d58..867840b54 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/MessageSvc.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/MessageSvc.kt @@ -443,7 +443,7 @@ internal class MessageSvc { originalMessage = message ) sourceCallback(source) - return createToTemp(client, member.group.id, member.id, message, source) + return createToTemp(client, (member.group as GroupImpl).uin, member.id, message, source) } /**