2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

View filter box, removing chats and chat types.

This commit is contained in:
John Preston
2020-03-13 10:56:03 +04:00
parent a091e73686
commit d5bd9fa54d
34 changed files with 540 additions and 65 deletions

View File

@@ -1173,14 +1173,6 @@ bool _readSetting(quint32 blockId, QDataStream &stream, int version, ReadSetting
if (!_checkStreamStatus(stream)) return false;
Global::SetDialogsFiltersEnabled(enabled == 1);
auto mode = FilterId(0);
if (enabled) {
mode = FilterId(modeInt);
if (mode == 1) { // #TODO filters
}
}
Global::SetDialogsFilterId(mode);
} break;
case dbiModerateMode: {