setProfileKey: Introduce 'reason' parameter for improved logging

This commit is contained in:
Scott Nonnenberg 2024-09-17 00:26:42 +10:00 committed by GitHub
parent c2e7f30988
commit b32dbf2c68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 48 additions and 28 deletions

View file

@ -3191,7 +3191,7 @@ async function updateGroup(
contact.get('profileKey') !== profileKey
) {
contactsWithoutProfileKey.push(contact);
drop(contact.setProfileKey(profileKey));
drop(contact.setProfileKey(profileKey, { reason: 'updateGroup' }));
}
}