mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various UI improvements
This commit is contained in:
@@ -950,6 +950,12 @@ public final class SharedAccountContextImpl: SharedAccountContext {
|
||||
})
|
||||
}
|
||||
|
||||
public func openSearch(filter: ChatListSearchFilter, query: String?) {
|
||||
if let rootController = self.mainWindow?.viewController as? TelegramRootController {
|
||||
rootController.openChatsController(activateSearch: true, filter: filter, query: query)
|
||||
}
|
||||
}
|
||||
|
||||
public func navigateToChat(accountId: AccountRecordId, peerId: PeerId, messageId: MessageId?) {
|
||||
self.navigateToChatImpl(accountId, peerId, messageId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user