From 2e7a3269165902b67b5fbede9d0a9b3868f294a8 Mon Sep 17 00:00:00 2001 From: Him188 <Him188@mamoe.net> Date: Thu, 2 Jul 2020 01:27:48 +0800 Subject: [PATCH] Suppress DEPRECATION for internal usage --- .../network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt index ba95c6e7b..b84d564e3 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt @@ -257,6 +257,7 @@ private object Transformers732 : Map<Int, Lambda732> by mapOf( } } + @Suppress("DEPRECATION") if (group.settings.isConfessTalkEnabled == new) { return@lambda732 emptySequence() }