mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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) {
|
||||
return false;
|
||||
return (view->data()->replyToId() == _thread->topicRootId());
|
||||
}
|
||||
|
||||
bool PinnedWidget::listElementShownUnread(not_null<const Element*> view) {
|
||||
|
||||
Reference in New Issue
Block a user