This commit is contained in:
Ali 2021-02-23 20:25:01 +04:00
parent 89eb7756e3
commit 88a72e5281
2 changed files with 2 additions and 5 deletions

View File

@ -10241,10 +10241,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
case .upperBound:
searchLocation = .index(MessageIndex.upperBound(peerId: self.chatLocation.peerId))
}
var historyView = preloadedChatHistoryViewForLocation(ChatHistoryLocationInput(content: .InitialSearch(location: searchLocation, count: 50, highlight: true), id: 0), context: self.context, chatLocation: self.chatLocation, subject: self.subject, chatLocationContextHolder: self.chatLocationContextHolder, fixedCombinedReadStates: nil, tagMask: nil, additionalData: [])
#if DEBUG
historyView = historyView |> delay(1.0, queue: .mainQueue())
#endif
let historyView = preloadedChatHistoryViewForLocation(ChatHistoryLocationInput(content: .InitialSearch(location: searchLocation, count: 50, highlight: true), id: 0), context: self.context, chatLocation: self.chatLocation, subject: self.subject, chatLocationContextHolder: self.chatLocationContextHolder, fixedCombinedReadStates: nil, tagMask: nil, additionalData: [])
let signal = historyView
|> mapToSignal { historyView -> Signal<(MessageIndex?, Bool), NoError> in

@ -1 +1 @@
Subproject commit 0a1590245ac4c27021f6998c99ec1167ee0ef3f1
Subproject commit 7b5ef92e3da4eeb4e253a67c8588dd861228aa2f