Save PNI's from CDSv2 for all users.

This commit is contained in:
Greyson Parrelli
2023-08-10 11:07:32 -04:00
committed by Alex Hart
parent 13853c708e
commit 327cd93e3c
5 changed files with 41 additions and 147 deletions

View File

@@ -85,7 +85,7 @@ public class UserNotificationMigrationJob extends MigrationJob {
return;
}
List<RecipientId> registered = SignalDatabase.recipients().getRegistered();
Set<RecipientId> registered = SignalDatabase.recipients().getRegistered();
List<RecipientId> systemContacts = SignalDatabase.recipients().getSystemContacts();
Set<RecipientId> registeredSystemContacts = SetUtil.intersection(registered, systemContacts);
Set<RecipientId> threadRecipients = threadTable.getAllThreadRecipients();