Fixed replies button display in section of scheduled messages.

This commit is contained in:
23rd 2020-10-07 21:59:33 +03:00 committed by John Preston
parent 5540b0bb8b
commit 52cca98144
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ HistoryMessage::HistoryMessage(
} }
config.viaBotId = data.vvia_bot_id().value_or_empty(); config.viaBotId = data.vvia_bot_id().value_or_empty();
config.viewsCount = data.vviews().value_or(-1); config.viewsCount = data.vviews().value_or(-1);
config.mtpReplies = data.vreplies(); config.mtpReplies = isScheduled() ? nullptr : data.vreplies();
config.mtpMarkup = data.vreply_markup(); config.mtpMarkup = data.vreply_markup();
config.editDate = data.vedit_date().value_or_empty(); config.editDate = data.vedit_date().value_or_empty();
config.author = qs(data.vpost_author().value_or_empty()); config.author = qs(data.vpost_author().value_or_empty());