mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Fix contact name syncing to storage service.
This commit is contained in:
@@ -4298,6 +4298,8 @@ open class RecipientTable(context: Context, databaseHelper: SignalDatabase) : Da
|
||||
rotateStorageId(id)
|
||||
}
|
||||
}
|
||||
|
||||
pendingRecipients.forEach { id -> rotateStorageId(id) }
|
||||
}
|
||||
|
||||
private fun clearSystemDataForPendingInfo() {
|
||||
|
||||
@@ -119,9 +119,10 @@ public class ApplicationMigrations {
|
||||
static final int REACTION_DATABASE_MIGRATION = 75;
|
||||
static final int REBUILD_MESSAGE_FTS_INDEX_2 = 76;
|
||||
static final int GLIDE_CACHE_CLEAR = 77;
|
||||
static final int SYSTEM_NAME_RESYNC = 78;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 77;
|
||||
public static final int CURRENT_VERSION = 78;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -531,6 +532,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.GLIDE_CACHE_CLEAR, new ClearGlideCacheMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.SYSTEM_NAME_RESYNC) {
|
||||
jobs.put(Version.SYSTEM_NAME_RESYNC, new StorageServiceSystemNameMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user