From 3fee517ffae19e165f1796c711550a97423b346b Mon Sep 17 00:00:00 2001 From: overtake Date: Sun, 17 Jan 2021 11:59:52 +0300 Subject: [PATCH] no message --- submodules/TelegramCore/Sources/InvitationLinks.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramCore/Sources/InvitationLinks.swift b/submodules/TelegramCore/Sources/InvitationLinks.swift index a452722179..ee61c3c131 100644 --- a/submodules/TelegramCore/Sources/InvitationLinks.swift +++ b/submodules/TelegramCore/Sources/InvitationLinks.swift @@ -362,7 +362,7 @@ private final class PeerInvitationImportersContextImpl { |> mapToSignal { inputPeer -> Signal<([PeerInvitationImportersState.Importer], Int), NoError> in if let inputPeer = inputPeer { let offsetUser = lastResult?.peer.peer.flatMap { apiInputUser($0) } ?? .inputUserEmpty - let offsetDate = lastResult?.date ?? 0 + let offsetDate = populateCache ? 0 : lastResult?.date ?? 0 let signal = account.network.request(Api.functions.messages.getChatInviteImporters(peer: inputPeer, link: link, offsetDate: offsetDate, offsetUser: offsetUser, limit: lastResult == nil ? 10 : 50)) |> map(Optional.init) |> `catch` { _ -> Signal in