mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Move message ownership to History.
This commit is contained in:
@@ -165,8 +165,7 @@ AdminLog::OwnedItem GenerateForwardedItem(
|
||||
//MTPMessageReactions(),
|
||||
MTPVector<MTPRestrictionReason>()
|
||||
).match([&](const MTPDmessage &data) {
|
||||
return history->owner().makeMessage(
|
||||
history,
|
||||
return history->makeMessage(
|
||||
data,
|
||||
MTPDmessage_ClientFlag::f_fake_history_item);
|
||||
}, [](auto &&) -> not_null<HistoryMessage*> {
|
||||
|
Reference in New Issue
Block a user