mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Move messages data to AuthSession.
This commit is contained in:
@@ -141,9 +141,9 @@ AdminLog::OwnedItem GenerateForwardedItem(
|
||||
MTPint(), // edit_date
|
||||
MTPstring(), // post_author
|
||||
MTPlong() // grouped_id
|
||||
).match([&](const MTPDmessage & data) {
|
||||
return new HistoryMessage(history, data);
|
||||
}, [](auto &&) -> HistoryMessage* {
|
||||
).match([&](const MTPDmessage &data) {
|
||||
return history->owner().makeMessage(history, data);
|
||||
}, [](auto &&) -> not_null<HistoryMessage*> {
|
||||
Unexpected("Type in GenerateForwardedItem.");
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user