Download latest emoji.

This commit is contained in:
Greyson Parrelli 2022-01-24 11:17:15 -05:00
parent 75a13aa22a
commit d40254aa69

View file

@ -94,9 +94,10 @@ public class ApplicationMigrations {
static final int PNI = 50;
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;
}
public static final int CURRENT_VERSION = 52;
public static final int CURRENT_VERSION = 53;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@ -406,6 +407,10 @@ public class ApplicationMigrations {
jobs.put(Version.JUMBOMOJI_DOWNLOAD, new EmojiDownloadMigrationJob());
}
if (lastSeenVersion < Version.FIX_EMOJI_QUALITY) {
jobs.put(Version.FIX_EMOJI_QUALITY, new EmojiDownloadMigrationJob());
}
return jobs;
}