diff --git a/mirai-core/src/androidMain/kotlin/net/mamoe/mirai/contact/Group.kt b/mirai-core/src/androidMain/kotlin/net/mamoe/mirai/contact/Group.kt index b35bb85a2..ed3ad1d80 100644 --- a/mirai-core/src/androidMain/kotlin/net/mamoe/mirai/contact/Group.kt +++ b/mirai-core/src/androidMain/kotlin/net/mamoe/mirai/contact/Group.kt @@ -202,5 +202,4 @@ actual abstract class Group : Contact(), CoroutineScope { actual fun toFullString(): String { return "Group(id=${this.id}, name=$name, owner=${owner.id}, members=${members.idContentString})" } - } \ No newline at end of file diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Group.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Group.kt index 762b8ab8d..25d639ff3 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Group.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Group.kt @@ -23,13 +23,11 @@ import net.mamoe.mirai.message.data.OfflineGroupImage import net.mamoe.mirai.utils.ExternalImage import net.mamoe.mirai.utils.MiraiExperimentalAPI import net.mamoe.mirai.utils.OverFileSizeMaxException -import kotlin.jvm.JvmName import kotlin.jvm.JvmSynthetic /** * 群. 在 QQ Android 中叫做 "Troop" */ -@Suppress("INAPPLICABLE_JVM_NAME") expect abstract class Group() : Contact, CoroutineScope { /** * 群名称. @@ -163,7 +161,6 @@ expect abstract class Group() : Contact, CoroutineScope { */ @MiraiExperimentalAPI("dangerous") @Suppress("INAPPLICABLE_JVM_NAME", "FunctionName") - @JvmName("newMember") abstract fun newMember(memberInfo: MemberInfo): Member /**