mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Screen sharing in 1-to-1 calls
This commit is contained in:
@@ -1067,9 +1067,9 @@ public func notificationsAndSoundsController(context: AccountContext, exceptions
|
||||
}))
|
||||
}
|
||||
|
||||
let hasMoreThanOneAccount = context.sharedContext.activeAccounts
|
||||
|> map { _, accounts, _ -> Bool in
|
||||
return accounts.count > 1
|
||||
let hasMoreThanOneAccount = context.sharedContext.activeAccountContexts
|
||||
|> map { _, contexts, _ -> Bool in
|
||||
return contexts.count > 1
|
||||
}
|
||||
|> distinctUntilChanged
|
||||
|
||||
|
||||
Reference in New Issue
Block a user