mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-25 09:32:46 +00:00
Fix build
This commit is contained in:
parent
cb280f5cf9
commit
950e7c29df
@ -1215,9 +1215,9 @@ private struct DownloadItem: Equatable {
|
||||
|
||||
private func filteredPeerSearchQueryResults(value: ([FoundPeer], [FoundPeer]), scope: TelegramSearchPeersScope) -> ([FoundPeer], [FoundPeer]) {
|
||||
switch scope {
|
||||
case .everywhere:
|
||||
case .everywhere, .privateChats:
|
||||
return value
|
||||
case .channels:
|
||||
case .channels, .groups:
|
||||
return (
|
||||
value.0.filter { peer in
|
||||
if let channel = peer.peer as? TelegramChannel, case .broadcast = channel.info {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user