Fix incorrect ACI/PNI storage for revoked invites in group updates.

This commit is contained in:
Cody Henthorne
2024-12-02 16:32:41 -05:00
committed by Greyson Parrelli
parent 10ae26c924
commit 86d78d2e5d
4 changed files with 103 additions and 4 deletions

View File

@@ -161,9 +161,10 @@ public class ApplicationMigrations {
static final int SVR2_ENCLAVE_UPDATE_2 = 117;
static final int WALLPAPER_MIGRATION_CLEANUP = 118;
static final int AEP_INTRODUCTION = 119;
static final int GROUP_EXTRAS_DB_FIX = 120;
}
public static final int CURRENT_VERSION = 119;
public static final int CURRENT_VERSION = 120;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -738,6 +739,10 @@ public class ApplicationMigrations {
jobs.put(Version.AEP_INTRODUCTION, new AepMigrationJob());
}
if (lastSeenVersion < Version.GROUP_EXTRAS_DB_FIX) {
jobs.put(Version.GROUP_EXTRAS_DB_FIX, new DatabaseMigrationJob());
}
return jobs;
}