mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Correctly track General editing service messages.
This commit is contained in:
@@ -435,6 +435,18 @@ void ForumTopic::setClosedAndSave(bool closed) {
|
||||
}).send();
|
||||
}
|
||||
|
||||
bool ForumTopic::hidden() const {
|
||||
return (_flags & Flag::Hidden);
|
||||
}
|
||||
|
||||
void ForumTopic::setHidden(bool hidden) {
|
||||
if (hidden) {
|
||||
_flags |= Flag::Hidden;
|
||||
} else {
|
||||
_flags &= ~Flag::Hidden;
|
||||
}
|
||||
}
|
||||
|
||||
void ForumTopic::indexTitleParts() {
|
||||
_titleWords.clear();
|
||||
_titleFirstLetters.clear();
|
||||
|
Reference in New Issue
Block a user