mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Multiaccount updates
This commit is contained in:
@@ -161,7 +161,7 @@ class NotificationViewController: UIViewController, UNNotificationContentExtensi
|
||||
|
||||
self.applyDisposable.set((sharedAccountContext.activeAccounts
|
||||
|> map { _, accounts, _ -> Account? in
|
||||
return accounts[AccountRecordId(rawValue: accountIdValue)]
|
||||
return accounts.first(where: { $0.0 == AccountRecordId(rawValue: accountIdValue) })?.1
|
||||
}
|
||||
|> filter { account in
|
||||
return account != nil
|
||||
|
||||
Reference in New Issue
Block a user