diff --git a/submodules/TelegramCore/Sources/ChatListFiltering.swift b/submodules/TelegramCore/Sources/ChatListFiltering.swift index 7b58448006..fb4a93f75d 100644 --- a/submodules/TelegramCore/Sources/ChatListFiltering.swift +++ b/submodules/TelegramCore/Sources/ChatListFiltering.swift @@ -504,7 +504,7 @@ private func requestChatListFilters(postbox: Postbox, network: Network) -> Signa ) |> castError(RequestChatListFiltersError.self) |> mapToSignal { _ -> Signal<[ChatListFilter], RequestChatListFiltersError> in - #if swift(<5) + #if swift(<5.1) return .complete() #endif }