mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +08:00
parent
de170325c9
commit
70bbfcf786
@ -14,7 +14,6 @@
|
||||
|
||||
package net.mamoe.mirai.internal.network.protocol.packet.chat.receive
|
||||
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import kotlinx.coroutines.sync.withLock
|
||||
import kotlinx.io.core.*
|
||||
import kotlinx.serialization.Serializable
|
||||
@ -621,7 +620,7 @@ internal object Transformers528 : Map<Long, Lambda528> by mapOf(
|
||||
when (msg.msgGroupMsgSync.msgType) {
|
||||
1, 2 -> {
|
||||
bot.groupListModifyLock.withLock {
|
||||
bot.createGroupForBot(msg.msgGroupMsgSync.grpCode)?.let {
|
||||
bot.createGroupForBot(Mirai.calculateGroupUinByGroupCode(msg.msgGroupMsgSync.grpCode))?.let {
|
||||
packetList.add(BotJoinGroupEvent.Active(it))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user