Mitigate PNI editor server bug for group member add updates.

This commit is contained in:
Cody Henthorne
2025-01-08 16:59:44 -05:00
committed by Greyson Parrelli
parent 8c3774b3ee
commit 0dbab7ede0
5 changed files with 113 additions and 9 deletions

View File

@@ -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;
}