mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Hide reply bars to the topic root in topic pinned.
This commit is contained in:
parent
9dcea2cdef
commit
c15f89c260
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ void PinnedWidget::listUpdateDateLink(
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PinnedWidget::listElementHideReply(not_null<const Element*> view) {
|
bool PinnedWidget::listElementHideReply(not_null<const Element*> view) {
|
||||||
return false;
|
return (view->data()->replyToId() == _thread->topicRootId());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PinnedWidget::listElementShownUnread(not_null<const Element*> view) {
|
bool PinnedWidget::listElementShownUnread(not_null<const Element*> view) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue