Fixed replies button display in section of scheduled messages.
This commit is contained in:
parent
5540b0bb8b
commit
52cca98144
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue