From fba683be8eebe9e7d6521511d0dec1e13dc69042 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 16 Sep 2022 10:42:25 +0400 Subject: [PATCH] Fix custom status remove on chat reopen. --- Telegram/SourceFiles/history/view/history_view_message.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index 5fb1bfe09..8d366596e 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -1447,6 +1447,7 @@ void Message::unloadHeavyPart() { _comments = nullptr; if (_fromNameStatus) { _fromNameStatus->custom = nullptr; + _fromNameStatus->id = 0; } }