mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Don't show 'Discussion started' in General topic.
This commit is contained in:
parent
623176e901
commit
6ff29b8902
1 changed files with 3 additions and 1 deletions
|
@ -304,7 +304,9 @@ void RepliesList::injectRootMessage(not_null<Viewer*> viewer) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const auto root = lookupRoot();
|
const auto root = lookupRoot();
|
||||||
if (!root || root->topicRootId() != Data::ForumTopic::kGeneralId) {
|
if (!root
|
||||||
|
|| (_rootId == Data::ForumTopic::kGeneralId)
|
||||||
|
|| (root->topicRootId() != Data::ForumTopic::kGeneralId)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
injectRootDivider(root, slice);
|
injectRootDivider(root, slice);
|
||||||
|
|
Loading…
Add table
Reference in a new issue