mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix emoji full text search.
Co-authored-by: Nolan Woods <innovate.invent@gmail.com>
This commit is contained in:
committed by
mtang-signal
parent
8dc910e71d
commit
2c11a27897
@@ -150,9 +150,10 @@ public class ApplicationMigrations {
|
||||
static final int SUBSCRIBER_ID = 105;
|
||||
static final int CONTACT_LINK_REBUILD = 106;
|
||||
static final int DELETE_SYNC_CAPABILITY = 107;
|
||||
static final int REBUILD_MESSAGE_FTS_INDEX_5 = 108;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 107;
|
||||
public static final int CURRENT_VERSION = 108;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -683,6 +684,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.DELETE_SYNC_CAPABILITY, new AttributesMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.REBUILD_MESSAGE_FTS_INDEX_5) {
|
||||
jobs.put(Version.REBUILD_MESSAGE_FTS_INDEX_5, new RebuildMessageSearchIndexMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user