From 60640c708769af6dec7707bb25cc91df82a70120 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 2 Oct 2019 12:00:16 +0300 Subject: [PATCH] Version 1.8.12: Fix 'edited' badge display. --- Telegram/SourceFiles/history/history_message.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/history/history_message.cpp b/Telegram/SourceFiles/history/history_message.cpp index e4f3633dab..e6f756616b 100644 --- a/Telegram/SourceFiles/history/history_message.cpp +++ b/Telegram/SourceFiles/history/history_message.cpp @@ -1041,6 +1041,9 @@ void HistoryMessage::applyEdition(const MTPDmessage &message) { // } //} + const auto copyFlags = MTPDmessage::Flag::f_edit_hide; + _flags = (_flags & ~copyFlags) | (message.vflags().v & copyFlags); + if (const auto editDate = message.vedit_date()) { _flags |= MTPDmessage::Flag::f_edit_date; if (!Has()) {