mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-25 23:10:12 +08:00
[core] Drop qua holding
This commit is contained in:
parent
fa389f40bb
commit
96e93e670e
@ -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)
|
||||
}))
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user