From 52cca981444bf5c8bc0ea0e98a14e0387acc1092 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 7 Oct 2020 21:59:33 +0300 Subject: [PATCH] Fixed replies button display in section of scheduled messages. --- Telegram/SourceFiles/history/history_message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_message.cpp b/Telegram/SourceFiles/history/history_message.cpp index 9baaf1a615..e6cb8970f5 100644 --- a/Telegram/SourceFiles/history/history_message.cpp +++ b/Telegram/SourceFiles/history/history_message.cpp @@ -487,7 +487,7 @@ HistoryMessage::HistoryMessage( } config.viaBotId = data.vvia_bot_id().value_or_empty(); config.viewsCount = data.vviews().value_or(-1); - config.mtpReplies = data.vreplies(); + config.mtpReplies = isScheduled() ? nullptr : data.vreplies(); config.mtpMarkup = data.vreply_markup(); config.editDate = data.vedit_date().value_or_empty(); config.author = qs(data.vpost_author().value_or_empty());