mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08: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