Fix profile fetches for empty groups.

This commit is contained in:
Greyson Parrelli
2024-01-08 10:43:49 -05:00
parent 10c31e6591
commit b6528e843e
3 changed files with 8 additions and 15 deletions

View File

@@ -223,7 +223,7 @@ object DataMessageProcessor {
if (SignalDatabase.recipients.setProfileKey(senderRecipient.id, messageProfileKey)) {
log(timestamp, "Profile key on message from " + senderRecipient.id + " didn't match our local store. It has been updated.")
SignalDatabase.runPostSuccessfulTransaction {
ApplicationDependencies.getJobManager().add(RetrieveProfileJob.forRecipient(senderRecipient.id))
RetrieveProfileJob.enqueue(senderRecipient.id)
}
}
} else {