Commit 56bf626a authored by Him188's avatar Him188

Pass @LowLevelAPI annotation

parent 9b1f17b0
...@@ -12,6 +12,7 @@ package net.mamoe.mirai.qqandroid ...@@ -12,6 +12,7 @@ package net.mamoe.mirai.qqandroid
import io.ktor.utils.io.core.Closeable import io.ktor.utils.io.core.Closeable
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import kotlinx.coroutines.withTimeoutOrNull import kotlinx.coroutines.withTimeoutOrNull
import net.mamoe.mirai.LowLevelAPI
import net.mamoe.mirai.contact.* import net.mamoe.mirai.contact.*
import net.mamoe.mirai.data.* import net.mamoe.mirai.data.*
import net.mamoe.mirai.event.broadcast import net.mamoe.mirai.event.broadcast
...@@ -542,7 +543,8 @@ internal class GroupImpl( ...@@ -542,7 +543,8 @@ internal class GroupImpl(
@UseExperimental(MiraiExperimentalAPI::class) @UseExperimental(MiraiExperimentalAPI::class)
override fun Member(memberInfo: MemberInfo): Member { override fun Member(memberInfo: MemberInfo): Member {
return MemberImpl( return MemberImpl(
bot._lowLevelNewQQQQ(memberInfo) as QQImpl, @UseExperimental(LowLevelAPI::class)
bot._lowLevelNewQQ(memberInfo) as QQImpl,
this, this,
this.coroutineContext, this.coroutineContext,
memberInfo memberInfo
......
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