mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 03:40:56 +01:00
Stop broadcasting the change number capability.
This commit is contained in:
@@ -87,9 +87,10 @@ public class ApplicationMigrations {
|
||||
static final int SENDER_KEY_3 = 43;
|
||||
static final int CHANGE_NUMBER_SYNC = 44;
|
||||
static final int CHANGE_NUMBER_CAPABILITY = 45;
|
||||
static final int CHANGE_NUMBER_CAPABILITY_2 = 46;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 45;
|
||||
public static final int CURRENT_VERSION = 46;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -379,6 +380,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.CHANGE_NUMBER_CAPABILITY, new AttributesMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.CHANGE_NUMBER_CAPABILITY_2) {
|
||||
jobs.put(Version.CHANGE_NUMBER_CAPABILITY_2, new AttributesMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user