mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Fix display of pinned messages in sublists.
This commit is contained in:
@@ -223,6 +223,8 @@ StackItemSection::StackItemSection(
|
||||
rpl::producer<> StackItemSection::sectionRemoveRequests() const {
|
||||
if (const auto topic = _memento->topicForRemoveRequests()) {
|
||||
return rpl::merge(_memento->removeRequests(), topic->destroyed());
|
||||
} else if (const auto sublist = _memento->sublistForRemoveRequests()) {
|
||||
return rpl::merge(_memento->removeRequests(), sublist->destroyed());
|
||||
}
|
||||
return _memento->removeRequests();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user