Commit a4e85dd4 authored by jiahua.liu's avatar jiahua.liu

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt
parents 1cc97422 fa515ed3
...@@ -235,7 +235,6 @@ internal class GroupImpl( ...@@ -235,7 +235,6 @@ internal class GroupImpl(
this.checkBotPermissionOperator() this.checkBotPermissionOperator()
if (oldValue != newValue) { if (oldValue != newValue) {
launch { launch {
bot.network.run { bot.network.run {
TroopManagement.GroupOperation.name( TroopManagement.GroupOperation.name(
client = bot.client, client = bot.client,
......
...@@ -181,7 +181,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler ...@@ -181,7 +181,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
val group = val group =
GroupImpl( GroupImpl(
bot = bot, bot = bot,
coroutineContext = this.coroutineContext, coroutineContext = bot.coroutineContext,
id = troopNum.groupCode, id = troopNum.groupCode,
uin = troopNum.groupUin, uin = troopNum.groupUin,
initName = troopNum.groupName, initName = troopNum.groupName,
......
...@@ -280,7 +280,11 @@ internal object TroopManagement { ...@@ -280,7 +280,11 @@ internal object TroopManagement {
} }
object Response : Packet object Response : Packet {
override fun toString(): String {
return "TroopManagement.GroupOperation.Response"
}
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment