2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Move message client flags to a separate field.

This commit is contained in:
John Preston
2019-08-09 20:19:23 +01:00
parent 4869ce2247
commit 02b65a42f7
25 changed files with 393 additions and 89 deletions

View File

@@ -160,7 +160,10 @@ AdminLog::OwnedItem GenerateForwardedItem(
MTPstring(), // post_author
MTPlong() // grouped_id
).match([&](const MTPDmessage &data) {
return history->owner().makeMessage(history, data);
return history->owner().makeMessage(
history,
data,
MTPDmessage_ClientFlags());
}, [](auto &&) -> not_null<HistoryMessage*> {
Unexpected("Type in GenerateForwardedItem.");
});