mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-25 06:53:01 +02:00
Fix saved messages sublists updates.
This commit is contained in:
parent
23133499c7
commit
63e1d6dab6
1 changed files with 5 additions and 0 deletions
|
@ -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>()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue