mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +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