Fix link opening from gallery

This commit is contained in:
Ilya Laktyushin 2020-12-15 15:13:18 +04:00
parent 34e1924d8f
commit bf3674c3b1

View File

@ -653,7 +653,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
} }
}, actionInteraction: GalleryControllerActionInteraction(openUrl: { [weak self] url, concealed in }, actionInteraction: GalleryControllerActionInteraction(openUrl: { [weak self] url, concealed in
if let strongSelf = self { if let strongSelf = self {
strongSelf.controllerInteraction?.openUrl(url, concealed, nil, nil) strongSelf.openUrl(url, concealed: concealed, message: nil)
} }
}, openUrlIn: { [weak self] url in }, openUrlIn: { [weak self] url in
if let strongSelf = self { if let strongSelf = self {