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

@ -1146,7 +1146,9 @@ export class ConversationController {
const profileKey = obsolete.get('profileKey');
if (profileKey) {
await current.setProfileKey(profileKey);
await current.setProfileKey(profileKey, {
reason: 'doCombineConversations ',
});
}
}