mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-25 04:06:14 +00:00
Attempt to fix duplicate e164s due to short codes.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user