fix launch issue

This commit is contained in:
jiahua.liu 2020-02-07 14:55:01 +08:00
parent ba352a9869
commit 1cc9742264

View File

@ -232,15 +232,11 @@ internal class GroupImpl(
) : ContactImpl(), Group {
override var name by Delegates.observable(initName) { _, oldValue, newValue ->
println("发包了-2")
this.checkBotPermissionOperator()
println("发包了-1")
if (oldValue != newValue) {
println("发包了0")
launch {
println("发包了1")
bot.network.run {
println("发包了2")
bot.network.run {
TroopManagement.GroupOperation.name(
client = bot.client,
groupCode = id,