mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-08 22:18:34 +00:00
Schedule another attribute refresh for GV2.
This commit is contained in:
parent
3636ae7667
commit
1d230d4cd6
@ -39,7 +39,7 @@ public class ApplicationMigrations {
|
||||
|
||||
private static final int LEGACY_CANONICAL_VERSION = 455;
|
||||
|
||||
public static final int CURRENT_VERSION = 20;
|
||||
public static final int CURRENT_VERSION = 21;
|
||||
|
||||
private static final class Version {
|
||||
static final int LEGACY = 1;
|
||||
@ -62,6 +62,7 @@ public class ApplicationMigrations {
|
||||
static final int TRIM_SETTINGS = 18;
|
||||
static final int THUMBNAIL_CLEANUP = 19;
|
||||
static final int GV2 = 20;
|
||||
static final int GV2_2 = 21;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -257,6 +258,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.GV2, new AttributesMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.GV2_2) {
|
||||
jobs.put(Version.GV2_2, new AttributesMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user