Reduce unnecessary or overly verbose logging

This commit is contained in:
Scott Nonnenberg 2021-02-04 11:39:07 -08:00 committed by GitHub
parent 850482ea70
commit 089e2864b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 16 additions and 17 deletions

View file

@ -395,10 +395,8 @@ export class ConversationController {
// 3. Handle match on only UUID
}
if (!convoE164 && convoUuid) {
window.log.info(
`ensureContactIds: UUID-only match found (have e164: ${Boolean(e164)})`
);
if (e164 && highTrust) {
window.log.info('ensureContactIds: Adding e164 to UUID-only match');
convoUuid.updateE164(e164);
updateConversation(convoUuid.attributes);
}