Enable sender key by default.

This commit is contained in:
Greyson Parrelli
2021-08-25 16:11:49 -04:00
committed by Alex Hart
parent c92f3b5dfd
commit 0459d118a3
3 changed files with 10 additions and 4 deletions

View File

@@ -82,9 +82,10 @@ public class ApplicationMigrations {
static final int ATTACHMENT_CLEANUP_2 = 40;
static final int ANNOUNCEMENT_GROUP_CAPABILITY = 41;
static final int STICKER_MY_DAILY_LIFE = 42;
static final int SENDER_KEY_3 = 43;
}
public static final int CURRENT_VERSION = 42;
public static final int CURRENT_VERSION = 43;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -362,6 +363,10 @@ public class ApplicationMigrations {
jobs.put(Version.STICKER_MY_DAILY_LIFE, new StickerMyDailyLifeMigrationJob());
}
if (lastSeenVersion < Version.SENDER_KEY_3) {
jobs.put(Version.SENDER_KEY_3, new AttributesMigrationJob());
}
return jobs;
}