2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Don't use MTP* for reply markup data.

This commit is contained in:
John Preston
2021-10-02 15:28:21 +04:00
parent 1790828b01
commit 21ac2b8f3a
23 changed files with 425 additions and 334 deletions

View File

@@ -289,7 +289,7 @@ AdminLog::OwnedItem GenerateCommentItem(
QString(),
TextWithEntities{ TextUtilities::Clean(data.comment) },
MTP_messageMediaEmpty(),
MTPReplyMarkup(),
HistoryMessageMarkupData(),
groupedId);
return AdminLog::OwnedItem(delegate, item);
}
@@ -319,7 +319,7 @@ AdminLog::OwnedItem GenerateContactItem(
MTP_string(data.lastName),
MTP_string(), // vcard
MTP_long(0)), // user_id
MTPReplyMarkup(),
HistoryMessageMarkupData(),
groupedId);
return AdminLog::OwnedItem(delegate, item);
}