mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Add message editing feature.
This commit is contained in:
@@ -125,9 +125,10 @@ public class ApplicationMigrations {
|
||||
static final int DECRYPTIONS_DRAINED = 80;
|
||||
static final int REBUILD_MESSAGE_FTS_INDEX_3 = 81;
|
||||
static final int TO_FROM_RECIPIENTS = 82;
|
||||
static final int REBUILD_MESSAGE_FTS_INDEX_4 = 83;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 82;
|
||||
public static final int CURRENT_VERSION = 83;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -557,6 +558,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.TO_FROM_RECIPIENTS, new DatabaseMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.REBUILD_MESSAGE_FTS_INDEX_4) {
|
||||
jobs.put(Version.REBUILD_MESSAGE_FTS_INDEX_4, new RebuildMessageSearchIndexMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user