Enable Change Number.

This commit is contained in:
Cody Henthorne
2022-01-21 15:57:08 -05:00
committed by Greyson Parrelli
parent 14886ce28e
commit 95cb80a93a
6 changed files with 45 additions and 12 deletions

View File

@@ -95,9 +95,10 @@ public class ApplicationMigrations {
static final int FIX_DEPRECATION = 51; // Only used to trigger clearing the 'client deprecated' flag
static final int JUMBOMOJI_DOWNLOAD = 52;
static final int FIX_EMOJI_QUALITY = 53;
static final int CHANGE_NUMBER_CAPABILITY_4 = 54;
}
public static final int CURRENT_VERSION = 53;
public static final int CURRENT_VERSION = 54;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -411,6 +412,10 @@ public class ApplicationMigrations {
jobs.put(Version.FIX_EMOJI_QUALITY, new EmojiDownloadMigrationJob());
}
if (lastSeenVersion < Version.CHANGE_NUMBER_CAPABILITY_4) {
jobs.put(Version.CHANGE_NUMBER_CAPABILITY_4, new AttributesMigrationJob());
}
return jobs;
}