mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
Hide reply bars to the topic root in topic pinned.
This commit is contained in:
parent
9dcea2cdef
commit
c15f89c260
@ -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…
x
Reference in New Issue
Block a user