mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Hide reply bars to the topic root in topic pinned.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user