mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[WIP] Saved messages
This commit is contained in:
@@ -18,6 +18,7 @@ import StoryContainerScreen
|
||||
import CameraScreen
|
||||
import MediaEditorScreen
|
||||
import ChatControllerInteraction
|
||||
import SavedMessagesScreen
|
||||
|
||||
public func navigateToChatControllerImpl(_ params: NavigateToChatControllerParams) {
|
||||
if case let .peer(peer) = params.chatLocation {
|
||||
@@ -83,6 +84,13 @@ public func navigateToChatControllerImpl(_ params: NavigateToChatControllerParam
|
||||
return
|
||||
}
|
||||
|
||||
/*if case let .peer(peer) = params.chatLocation, peer.id == params.context.account.peerId {
|
||||
let savedMessagesScreen = SavedMessagesScreen(context: params.context)
|
||||
params.navigationController.pushViewController(savedMessagesScreen, completion: {
|
||||
})
|
||||
return
|
||||
}*/
|
||||
|
||||
var found = false
|
||||
var isFirst = true
|
||||
if params.useExisting {
|
||||
|
||||
Reference in New Issue
Block a user