mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix
This commit is contained in:
parent
bf620b4703
commit
6ae4aa2b73
1 changed files with 1 additions and 5 deletions
|
|
@ -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] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue