From 9c017f9f038f11ca38f66637dca457588ea28b29 Mon Sep 17 00:00:00 2001 From: Isaac <> Date: Wed, 8 May 2024 19:43:18 +0400 Subject: [PATCH] Fix hidden links --- .../TelegramUI/Sources/ChatHistoryEntriesForView.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/submodules/TelegramUI/Sources/ChatHistoryEntriesForView.swift b/submodules/TelegramUI/Sources/ChatHistoryEntriesForView.swift index 2992442788..623ebf78c8 100644 --- a/submodules/TelegramUI/Sources/ChatHistoryEntriesForView.swift +++ b/submodules/TelegramUI/Sources/ChatHistoryEntriesForView.swift @@ -161,8 +161,10 @@ func chatHistoryEntriesForView( } } - if skipViewOnceMedia, message.minAutoremoveOrClearTimeout != nil { - continue loop + if skipViewOnceMedia, let minAutoremoveOrClearTimeout = message.minAutoremoveOrClearTimeout { + if minAutoremoveOrClearTimeout <= 60 { + continue loop + } } var contentTypeHint: ChatMessageEntryContentType = .generic