Don't show 'Discussion started' in General topic.
This commit is contained in:
parent
623176e901
commit
6ff29b8902
|
@ -304,7 +304,9 @@ void RepliesList::injectRootMessage(not_null<Viewer*> viewer) {
|
|||
return;
|
||||
}
|
||||
const auto root = lookupRoot();
|
||||
if (!root || root->topicRootId() != Data::ForumTopic::kGeneralId) {
|
||||
if (!root
|
||||
|| (_rootId == Data::ForumTopic::kGeneralId)
|
||||
|| (root->topicRootId() != Data::ForumTopic::kGeneralId)) {
|
||||
return;
|
||||
}
|
||||
injectRootDivider(root, slice);
|
||||
|
|
Loading…
Reference in New Issue