Voice Chat improvements

This commit is contained in:
Ilya Laktyushin
2021-03-09 20:53:16 +04:00
parent 8e0f3c6c31
commit cfb946cc61
9 changed files with 97 additions and 17 deletions

View File

@@ -782,7 +782,7 @@ public final class VoiceChatController: ViewController {
let displayAsPeers: Signal<[FoundPeer], NoError> = currentAccountPeer
|> then(
combineLatest(currentAccountPeer, groupCallDisplayAsAvailablePeers(network: context.account.network, postbox: context.account.postbox))
combineLatest(currentAccountPeer, groupCallDisplayAsAvailablePeers(network: context.account.network, postbox: context.account.postbox, peerId: call.peerId))
|> map { currentAccountPeer, availablePeers -> [FoundPeer] in
var result = currentAccountPeer
result.append(contentsOf: availablePeers)