mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Handle fwd_from without a link to the account.
This commit is contained in:
@@ -317,7 +317,7 @@ bool Result::hasThumbDisplay() const {
|
||||
void Result::addToHistory(History *history, MTPDmessage::Flags flags, MsgId msgId, UserId fromId, MTPint mtpDate, UserId viaBotId, MsgId replyToId, const QString &postAuthor) const {
|
||||
flags |= MTPDmessage_ClientFlag::f_from_inline_bot;
|
||||
|
||||
MTPReplyMarkup markup = MTPnullMarkup;
|
||||
auto markup = MTPReplyMarkup();
|
||||
if (_mtpKeyboard) {
|
||||
flags |= MTPDmessage::Flag::f_reply_markup;
|
||||
markup = *_mtpKeyboard;
|
||||
|
Reference in New Issue
Block a user