mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Mitigate PNI editor server bug for group member add updates.
This commit is contained in:
committed by
Greyson Parrelli
parent
8c3774b3ee
commit
0dbab7ede0
@@ -166,9 +166,10 @@ public class ApplicationMigrations {
|
||||
static final int QUOTE_AUTHOR_FIX = 122;
|
||||
static final int BAD_E164_FIX = 123;
|
||||
static final int GPB_TOKEN_MIGRATION = 124;
|
||||
static final int GROUP_ADD_MIGRATION = 125;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 124;
|
||||
public static final int CURRENT_VERSION = 125;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -763,6 +764,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.GPB_TOKEN_MIGRATION, new GooglePlayBillingPurchaseTokenMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.GROUP_ADD_MIGRATION) {
|
||||
jobs.put(Version.GROUP_ADD_MIGRATION, new DatabaseMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user