2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Correctly track General editing service messages.

This commit is contained in:
John Preston
2022-11-29 20:21:35 +04:00
parent 5e20c15c20
commit 3c799a5cc1
5 changed files with 42 additions and 6 deletions

View File

@@ -1216,6 +1216,9 @@ void History::applyServiceChanges(
if (const auto closed = data.vclosed()) {
topic->setClosed(mtpIsTrue(*closed));
}
if (const auto hidden = data.vhidden()) {
topic->setHidden(mtpIsTrue(*hidden));
}
}
}, [](const auto &) {
});