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

fix launch issue

parent c50c4365
...@@ -232,10 +232,15 @@ internal class GroupImpl( ...@@ -232,10 +232,15 @@ internal class GroupImpl(
) : ContactImpl(), Group { ) : ContactImpl(), Group {
override var name by Delegates.observable(initName) { _, oldValue, newValue -> override var name by Delegates.observable(initName) { _, oldValue, newValue ->
println("发包了-2")
this.checkBotPermissionOperator() this.checkBotPermissionOperator()
println("发包了-1")
if (oldValue != newValue) { if (oldValue != newValue) {
println("发包了0")
launch { launch {
println("发包了1")
bot.network.run { bot.network.run {
println("发包了2")
TroopManagement.GroupOperation.name( TroopManagement.GroupOperation.name(
client = bot.client, client = bot.client,
groupCode = id, groupCode = id,
......
...@@ -127,7 +127,6 @@ abstract class NotOnlineImage : Image() { ...@@ -127,7 +127,6 @@ abstract class NotOnlineImage : Image() {
override val imageId: String get() = resourceId override val imageId: String get() = resourceId
} }
@Serializable
data class NotOnlineImageFromFile( data class NotOnlineImageFromFile(
override val resourceId: String, override val resourceId: String,
override val md5: ByteArray, override val md5: ByteArray,
......
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