mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Mark general topic as deleted in bot forums.
This commit is contained in:
@@ -589,7 +589,8 @@ ForumTopic *Forum::enforceTopicFor(MsgId rootId) {
|
||||
}
|
||||
|
||||
bool Forum::topicDeleted(MsgId rootId) const {
|
||||
return _topicsDeleted.contains(rootId);
|
||||
return _topicsDeleted.contains(rootId)
|
||||
|| (rootId == ForumTopic::kGeneralId && peer()->isBot());
|
||||
}
|
||||
|
||||
rpl::producer<> Forum::chatsListChanges() const {
|
||||
|
||||
Reference in New Issue
Block a user