mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Implement StoryDistributionListRecord and processing.
This commit is contained in:
committed by
Cody Henthorne
parent
2cd7462573
commit
c359b0134a
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user