Screen sharing in 1-to-1 calls

This commit is contained in:
Ali
2021-07-23 18:02:47 +02:00
parent 37c6de33ff
commit ee7116ff15
25 changed files with 395 additions and 275 deletions

View File

@@ -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