From b4ab20bbe9ee00ba1c1b11dead79f40cef3f6725 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 18 Jan 2024 12:23:47 +0400 Subject: [PATCH] Fix media expiration from another client. --- Telegram/SourceFiles/api/api_updates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/api/api_updates.cpp b/Telegram/SourceFiles/api/api_updates.cpp index a6d27aa63..dc8eb1593 100644 --- a/Telegram/SourceFiles/api/api_updates.cpp +++ b/Telegram/SourceFiles/api/api_updates.cpp @@ -1213,8 +1213,8 @@ void Updates::applyUpdateNoPtsCheck(const MTPUpdate &update) { if (user && !requestingDifference()) { user->madeAction(base::unixtime::now()); } - ClearMediaAsExpired(item); } + ClearMediaAsExpired(item); } } else { // Perhaps it was an unread mention!