mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-03 15:10:14 +08:00
Merge remote-tracking branch 'origin/master'
# Conflicts: # mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt
This commit is contained in:
commit
a4e85dd4ac
@ -235,8 +235,7 @@ internal class GroupImpl(
|
||||
this.checkBotPermissionOperator()
|
||||
if (oldValue != newValue) {
|
||||
launch {
|
||||
|
||||
bot.network.run {
|
||||
bot.network.run {
|
||||
TroopManagement.GroupOperation.name(
|
||||
client = bot.client,
|
||||
groupCode = id,
|
||||
|
@ -181,7 +181,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
|
||||
val group =
|
||||
GroupImpl(
|
||||
bot = bot,
|
||||
coroutineContext = this.coroutineContext,
|
||||
coroutineContext = bot.coroutineContext,
|
||||
id = troopNum.groupCode,
|
||||
uin = troopNum.groupUin,
|
||||
initName = troopNum.groupName,
|
||||
|
@ -280,7 +280,11 @@ internal object TroopManagement {
|
||||
}
|
||||
|
||||
|
||||
object Response : Packet
|
||||
object Response : Packet {
|
||||
override fun toString(): String {
|
||||
return "TroopManagement.GroupOperation.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user