Skip to content

Commit 56bf626

Browse files
committed
Pass @LowLevelAPI annotation
1 parent 9b1f17b commit 56bf626

File tree

1 file changed

+3
-1
lines changed
  • mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid

1 file changed

+3
-1
lines changed

mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ package net.mamoe.mirai.qqandroid
1212
import io.ktor.utils.io.core.Closeable
1313
import kotlinx.coroutines.launch
1414
import kotlinx.coroutines.withTimeoutOrNull
15+
import net.mamoe.mirai.LowLevelAPI
1516
import net.mamoe.mirai.contact.*
1617
import net.mamoe.mirai.data.*
1718
import net.mamoe.mirai.event.broadcast
@@ -542,7 +543,8 @@ internal class GroupImpl(
542543
@UseExperimental(MiraiExperimentalAPI::class)
543544
override fun Member(memberInfo: MemberInfo): Member {
544545
return MemberImpl(
545-
bot._lowLevelNewQQQQ(memberInfo) as QQImpl,
546+
@UseExperimental(LowLevelAPI::class)
547+
bot._lowLevelNewQQ(memberInfo) as QQImpl,
546548
this,
547549
this.coroutineContext,
548550
memberInfo

0 commit comments

Comments
 (0)