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:
@@ -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>()) {
|
||||
|
Reference in New Issue
Block a user