From 738e0926803f03b67405a89539d89860715bdb32 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Fri, 28 Jan 2022 21:35:00 +0400 Subject: [PATCH 1/2] Bump version --- versions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.json b/versions.json index 44649d5106..b227738526 100644 --- a/versions.json +++ b/versions.json @@ -1,5 +1,5 @@ { - "app": "8.4.1", + "app": "8.5", "bazel": "5.0.0", "xcode": "13.2.1" } From 7a9f51f7c0c6e89cace60f30e5eecaf3321b05d0 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Fri, 28 Jan 2022 21:35:15 +0400 Subject: [PATCH 2/2] Navigate to the bottom of the message --- submodules/TelegramUI/Sources/ChatController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI/Sources/ChatController.swift b/submodules/TelegramUI/Sources/ChatController.swift index 8a16835de6..3113bc823c 100644 --- a/submodules/TelegramUI/Sources/ChatController.swift +++ b/submodules/TelegramUI/Sources/ChatController.swift @@ -5910,7 +5910,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G switch result { case let .result(messageId): if let messageId = messageId { - strongSelf.navigateToMessage(from: nil, to: .id(messageId, nil), completion: { + strongSelf.navigateToMessage(from: nil, to: .id(messageId, nil), scrollPosition: .center(.top), completion: { guard let strongSelf = self else { return }