Commit 9ced4470 authored by Him188's avatar Him188

Remove `@ExperimentalCoroutinesApi` since `Flow.fold` is now stable

parent 5c7dff22
......@@ -17,7 +17,6 @@
package net.mamoe.mirai.message.data
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.fold
import net.mamoe.mirai.contact.Contact
......@@ -208,7 +207,6 @@ interface Message { // must be interface. Don't consider any changes.
@MiraiExperimentalAPI
@JvmSynthetic
@ExperimentalCoroutinesApi
suspend inline operator fun Message.plus(another: Flow<Message>): MessageChain =
another.fold(this) { acc, it -> acc + it }.asMessageChain()
......
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