From 6ae4aa2b736a7115cdf60b948d2c679afb5ed016 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Mon, 24 Mar 2025 14:47:42 +0400 Subject: [PATCH] Fix --- submodules/WebUI/Sources/WebAppSecureStorage.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/submodules/WebUI/Sources/WebAppSecureStorage.swift b/submodules/WebUI/Sources/WebAppSecureStorage.swift index a29df0fe45..b03a445389 100644 --- a/submodules/WebUI/Sources/WebAppSecureStorage.swift +++ b/submodules/WebUI/Sources/WebAppSecureStorage.swift @@ -16,11 +16,7 @@ final class WebAppSecureStorage { } static private func keyPrefix(context: AccountContext, botId: EnginePeer.Id) -> String { - if let data = context.currentAppConfiguration.with({ $0 }).data, let _ = data["ios_killswitch_webappsecurestorage_botwide_scope"] { - return "WebBot\(UInt64(bitPattern: botId.toInt64()))Key_" - } else { - return "A\(UInt64(bitPattern: context.account.peerId.toInt64()))WebBot\(UInt64(bitPattern: botId.toInt64()))Key_" - } + return "WebBot\(UInt64(bitPattern: botId.toInt64()))A\(UInt64(bitPattern: context.account.peerId.toInt64()))Key_" } static private func makeQuery(context: AccountContext, botId: EnginePeer.Id, key: String) -> [String: Any] {