mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +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;
|
||||
}
|
||||
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…
Add table
Reference in a new issue