Properly clear unknown ids from storage service.

This commit is contained in:
Greyson Parrelli
2024-09-10 11:33:22 -04:00
committed by Cody Henthorne
parent cb126a2f08
commit 0fe9df3023
3 changed files with 17 additions and 1 deletions

View File

@@ -386,7 +386,7 @@ public class StorageSyncJob extends BaseJob {
db.beginTransaction();
try {
processKnownRecords(context, records);
SignalDatabase.unknownStorageIds().getAllWithTypes(knownTypes);
SignalDatabase.unknownStorageIds().deleteAllWithTypes(knownTypes);
db.setTransactionSuccessful();
} finally {
db.endTransaction();