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

Fix saved messages sublists updates.

This commit is contained in:
John Preston
2025-06-12 19:12:12 +04:00
parent 23133499c7
commit 63e1d6dab6

View File

@@ -3847,6 +3847,11 @@ void HistoryItem::createComponents(CreateConfig &&config) {
}
}
saved->sublistPeerId = config.savedSublistPeer;
if (_history->peer->isSelf()) {
saved->savedMessagesSublist
= _history->owner().savedMessages().sublist(
_history->owner().peer(saved->sublistPeerId));
}
}
if (const auto reply = Get<HistoryMessageReply>()) {