2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-29 13:47:47 +00:00

Hide reply bars to the topic root in topic pinned.

This commit is contained in:
John Preston 2022-11-05 18:26:20 +04:00
parent 9dcea2cdef
commit c15f89c260

View File

@ -559,7 +559,7 @@ void PinnedWidget::listUpdateDateLink(
}
bool PinnedWidget::listElementHideReply(not_null<const Element*> view) {
return false;
return (view->data()->replyToId() == _thread->topicRootId());
}
bool PinnedWidget::listElementShownUnread(not_null<const Element*> view) {