Only create call links from storage sync after refresh confirmed

This commit is contained in:
ayumi-signal 2024-10-15 11:49:32 -07:00 committed by GitHub
parent 86abb43aec
commit 568c09c579
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 169 additions and 46 deletions

View file

@ -99,10 +99,11 @@ import { updateToSchemaVersion1190 } from './1190-call-links-storage';
import { updateToSchemaVersion1200 } from './1200-attachment-download-source-index';
import { updateToSchemaVersion1210 } from './1210-call-history-started-id';
import { updateToSchemaVersion1220 } from './1220-blob-sessions';
import { updateToSchemaVersion1230 } from './1230-call-links-admin-key-index';
import {
updateToSchemaVersion1230,
updateToSchemaVersion1240,
version as MAX_VERSION,
} from './1230-call-links-admin-key-index';
} from './1240-defunct-call-links-table';
function updateToSchemaVersion1(
currentVersion: number,
@ -2071,6 +2072,7 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion1210,
updateToSchemaVersion1220,
updateToSchemaVersion1230,
updateToSchemaVersion1240,
];
export class DBVersionFromFutureError extends Error {