Implement StoryDistributionListRecord and processing.

This commit is contained in:
Alex Hart
2022-03-25 14:27:03 -03:00
committed by Cody Henthorne
parent 2cd7462573
commit c359b0134a
21 changed files with 896 additions and 64 deletions

View File

@@ -100,9 +100,10 @@ public class ApplicationMigrations {
static final int PNI_IDENTITY = 56;
static final int PNI_IDENTITY_2 = 57;
static final int PNI_IDENTITY_3 = 58;
static final int STORY_DISTRIBUTION_LIST_SYNC = 59;
}
public static final int CURRENT_VERSION = 58;
public static final int CURRENT_VERSION = 59;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -436,6 +437,10 @@ public class ApplicationMigrations {
jobs.put(Version.PNI_IDENTITY_3, new PniAccountInitializationMigrationJob());
}
if (lastSeenVersion < Version.STORY_DISTRIBUTION_LIST_SYNC) {
jobs.put(Version.STORY_DISTRIBUTION_LIST_SYNC, new StorageServiceMigrationJob());
}
return jobs;
}