Various fixes

This commit is contained in:
Ilya Laktyushin
2022-11-11 18:22:44 +04:00
parent b35ede7462
commit de5d52ea48
5 changed files with 31 additions and 8 deletions

View File

@@ -10739,6 +10739,8 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
}
}
self.chatDisplayNode.historyNode.chatHasBots = updatedChatPresentationInterfaceState.hasBots
if let (updatedSearchQuerySuggestionState, updatedSearchQuerySuggestionSignal) = searchQuerySuggestionResultStateForChatInterfacePresentationState(updatedChatPresentationInterfaceState, context: context, currentQuery: self.searchQuerySuggestionState?.0) {
self.searchQuerySuggestionState?.1.dispose()
var inScope = true