Poll notifications and read syncs

This commit is contained in:
yash-signal
2025-11-12 09:26:16 -06:00
committed by GitHub
parent 7a8f208854
commit 7dd865904e
15 changed files with 1185 additions and 87 deletions

View File

@@ -127,6 +127,7 @@ import updateToSchemaVersion1480 from './1480-chat-folders-remove-duplicates.std
import updateToSchemaVersion1490 from './1490-lowercase-notification-profiles.std.js';
import updateToSchemaVersion1500 from './1500-search-polls.std.js';
import updateToSchemaVersion1510 from './1510-chat-folders-normalize-all-chats.std.js';
import updateToSchemaVersion1520 from './1520-poll-votes-unread.std.js';
import { DataWriter } from '../Server.node.js';
@@ -1612,6 +1613,7 @@ export const SCHEMA_VERSIONS: ReadonlyArray<SchemaUpdateType> = [
{ version: 1500, update: updateToSchemaVersion1500 },
{ version: 1510, update: updateToSchemaVersion1510 },
{ version: 1520, update: updateToSchemaVersion1520 },
];
export class DBVersionFromFutureError extends Error {