Add GV2 accept by PNI invite.

This commit is contained in:
Cody Henthorne
2022-07-11 15:20:00 -04:00
parent b223ebe95e
commit c4bef8099f
71 changed files with 1468 additions and 1016 deletions

View File

@@ -103,9 +103,10 @@ public class ApplicationMigrations {
static final int STORY_DISTRIBUTION_LIST_SYNC = 59;
static final int EMOJI_VERSION_7 = 60;
static final int MY_STORY_PRIVACY_MODE = 61;
static final int REFRESH_EXPIRING_CREDENTIAL = 62;
}
public static final int CURRENT_VERSION = 61;
public static final int CURRENT_VERSION = 62;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -451,6 +452,10 @@ public class ApplicationMigrations {
jobs.put(Version.MY_STORY_PRIVACY_MODE, new SyncDistributionListsMigrationJob());
}
if (lastSeenVersion < Version.REFRESH_EXPIRING_CREDENTIAL) {
jobs.put(Version.REFRESH_EXPIRING_CREDENTIAL, new AttributesMigrationJob());
}
return jobs;
}