From 96e93e670ec66df3e35117279a0e48b013d4c3b2 Mon Sep 17 00:00:00 2001
From: Karlatemp <kar@kasukusakura.com>
Date: Sun, 2 Jul 2023 21:50:04 +0800
Subject: [PATCH] [core] Drop qua holding

---
 .../kotlin/network/components/EcdhInitialPublicKeyUpdater.kt     | 1 -
 mirai-core/src/commonMain/kotlin/spi/EncryptService.kt           | 1 -
 2 files changed, 2 deletions(-)

diff --git a/mirai-core/src/commonMain/kotlin/network/components/EcdhInitialPublicKeyUpdater.kt b/mirai-core/src/commonMain/kotlin/network/components/EcdhInitialPublicKeyUpdater.kt
index 1f28d4792..3983bf001 100644
--- a/mirai-core/src/commonMain/kotlin/network/components/EcdhInitialPublicKeyUpdater.kt
+++ b/mirai-core/src/commonMain/kotlin/network/components/EcdhInitialPublicKeyUpdater.kt
@@ -125,7 +125,6 @@ internal class EcdhInitialPublicKeyUpdaterImpl(
             set(EncryptServiceContext.KEY_DEVICE_INFO, bot.client.device)
             set(EncryptServiceContext.KEY_BOT_PROTOCOL, bot.configuration.protocol)
             set(EncryptServiceContext.KEY_QIMEI36, bot.client.qimei36 ?: "")
-            set(EncryptServiceContext.KEY_APP_QUA, "V1_AND_SQ_8.9.58_4106_YYB_D") // 8.9.58
             set(EncryptServiceContext.KEY_BOT_WORKING_DIR, bot.configuration.workingDirPath)
             set(EncryptServiceContext.KEY_BOT_CACHING_DIR, bot.configuration.actualCacheDir().absolutePath)
         }))
diff --git a/mirai-core/src/commonMain/kotlin/spi/EncryptService.kt b/mirai-core/src/commonMain/kotlin/spi/EncryptService.kt
index ccb3d5be5..8a6938e42 100644
--- a/mirai-core/src/commonMain/kotlin/spi/EncryptService.kt
+++ b/mirai-core/src/commonMain/kotlin/spi/EncryptService.kt
@@ -30,7 +30,6 @@ public class EncryptServiceContext @MiraiInternalApi constructor(
     public companion object {
         public val KEY_COMMAND_STR: TypeKey<String> = TypeKey("KEY_COMMAND_STR")
         public val KEY_BOT_PROTOCOL: TypeKey<BotConfiguration.MiraiProtocol> = TypeKey("BOT_PROTOCOL")
-        public val KEY_APP_QUA: TypeKey<String> = TypeKey("KEY_APP_QUA")
         public val KEY_CHANNEL_PROXY: TypeKey<EncryptService.ChannelProxy> = TypeKey("KEY_CHANNEL_PROXY")
         public val KEY_DEVICE_INFO: TypeKey<DeviceInfo> = TypeKey("KEY_DEVICE_INFO")
         public val KEY_QIMEI36: TypeKey<String> = TypeKey("KEY_QIMEI36")