From 21639572991758e24a49bf9125e45bc899e8b3f3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 14 Oct 2021 18:20:22 +0400 Subject: [PATCH] Fix empty chat history after custom themed chat. --- Telegram/SourceFiles/history/history_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index e5e62be90..0976f2e29 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -2204,7 +2204,8 @@ void HistoryWidget::showHistory( refreshTopBarActiveChat(); updateTopBarSelection(); checkMessagesTTL(); - + // Restore default theme. + controller()->setChatStyleTheme(controller()->defaultChatTheme()); clearFieldText(); doneShow(); }