Attempt to fix duplicate e164s due to short codes.

This commit is contained in:
Cody Henthorne
2025-05-19 10:47:11 -04:00
parent 59a9a38c1f
commit da639d086f
3 changed files with 21 additions and 5 deletions

View File

@@ -180,9 +180,10 @@ public class ApplicationMigrations {
static final int FIX_CHANGE_NUMBER_ERROR = 136;
static final int CHAT_FOLDER_STORAGE_SYNC = 137;
static final int SVR2_ENCLAVE_UPDATE_3 = 138;
static final int DUPLICATE_E164_FIX_3 = 139;
}
public static final int CURRENT_VERSION = 138;
public static final int CURRENT_VERSION = 139;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -829,6 +830,10 @@ public class ApplicationMigrations {
jobs.put(Version.SVR2_ENCLAVE_UPDATE_3, new Svr2MirrorMigrationJob());
}
if (lastSeenVersion < Version.DUPLICATE_E164_FIX_3) {
jobs.put(Version.DUPLICATE_E164_FIX_3, new DuplicateE164MigrationJob());
}
return jobs;
}