From e1e7eace22e197e1e782759f04438f294924b2c6 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sun, 14 Nov 2021 12:52:21 +0400 Subject: [PATCH] Add missing thread switch --- submodules/TelegramUI/Sources/AppDelegate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/submodules/TelegramUI/Sources/AppDelegate.swift b/submodules/TelegramUI/Sources/AppDelegate.swift index 0abf31498d..336872445c 100644 --- a/submodules/TelegramUI/Sources/AppDelegate.swift +++ b/submodules/TelegramUI/Sources/AppDelegate.swift @@ -1901,6 +1901,7 @@ private func extractAccountManagerState(records: AccountRecordsView take(1) + |> deliverOnMainQueue |> mapToSignal { sharedApplicationContext -> Signal in if let accountId = accountId { sharedApplicationContext.sharedContext.switchToAccount(id: accountId)