mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Add support for admin delete.
This commit is contained in:
committed by
Cody Henthorne
parent
1968438ebb
commit
071fbfd916
@@ -193,9 +193,10 @@ public class ApplicationMigrations {
|
||||
static final int ATTACHMENT_HASH_BACKFILL_2 = 149;
|
||||
static final int SVR2_ENCLAVE_UPDATE_5 = 150;
|
||||
static final int STICKER_PACK_ADDITION_2 = 151;
|
||||
static final int DELETED_BY_DB_MIGRATION = 152;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 151;
|
||||
public static final int CURRENT_VERSION = 152;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -894,6 +895,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.STICKER_PACK_ADDITION_2, new StickerPackAddition2MigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.DELETED_BY_DB_MIGRATION) {
|
||||
jobs.put(Version.DELETED_BY_DB_MIGRATION, new DatabaseMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user