mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix custom chat themes in scheduled messages.
This commit is contained in:
@@ -2203,8 +2203,6 @@ void HistoryWidget::showHistory(
|
||||
refreshTopBarActiveChat();
|
||||
updateTopBarSelection();
|
||||
checkMessagesTTL();
|
||||
// Restore default theme.
|
||||
controller()->setChatStyleTheme(controller()->defaultChatTheme());
|
||||
clearFieldText();
|
||||
doneShow();
|
||||
}
|
||||
|
@@ -1391,6 +1391,7 @@ void MainWidget::ui_showPeerHistory(
|
||||
|
||||
if (noPeer) {
|
||||
_controller->setActiveChatEntry(Dialogs::Key());
|
||||
_controller->setChatStyleTheme(controller()->defaultChatTheme());
|
||||
}
|
||||
|
||||
if (onlyDialogs) {
|
||||
|
Reference in New Issue
Block a user