mirror of https://github.com/procxx/kepka.git
parent
4a12e9798a
commit
3ca28c0cf9
|
@ -492,8 +492,8 @@ HistoryMessage::HistoryMessage(
|
||||||
UserId from,
|
UserId from,
|
||||||
const QString &postAuthor,
|
const QString &postAuthor,
|
||||||
const TextWithEntities &textWithEntities)
|
const TextWithEntities &textWithEntities)
|
||||||
: HistoryItem(history, id, flags, date, (flags & MTPDmessage::Flag::f_from_id) ? from : 0) {
|
: HistoryItem(history, id, flags & ~MTPDmessage::Flag::f_reply_markup, date, (flags & MTPDmessage::Flag::f_from_id) ? from : 0) {
|
||||||
createComponentsHelper(flags, replyTo, viaBotId, postAuthor, MTPReplyMarkup());
|
createComponentsHelper(flags & ~MTPDmessage::Flag::f_reply_markup, replyTo, viaBotId, postAuthor, MTPReplyMarkup());
|
||||||
|
|
||||||
setText(textWithEntities);
|
setText(textWithEntities);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue