From bf3674c3b1318a81946c3bb36fbe3d68a1c65c59 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Tue, 15 Dec 2020 15:13:18 +0400 Subject: [PATCH] Fix link opening from gallery --- 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 a03936c628..50b836c8f8 100644 --- a/submodules/TelegramUI/Sources/ChatController.swift +++ b/submodules/TelegramUI/Sources/ChatController.swift @@ -653,7 +653,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G } }, actionInteraction: GalleryControllerActionInteraction(openUrl: { [weak self] url, concealed in if let strongSelf = self { - strongSelf.controllerInteraction?.openUrl(url, concealed, nil, nil) + strongSelf.openUrl(url, concealed: concealed, message: nil) } }, openUrlIn: { [weak self] url in if let strongSelf = self {