Added clearer debug logging to createOrLookup

This commit is contained in:
Alvaro
2022-12-02 18:05:27 -07:00
committed by GitHub
parent bc4f3dcd01
commit e41252b35e
21 changed files with 55 additions and 4 deletions

View File

@@ -121,6 +121,7 @@ export function isQuoteAMatch(
const authorConversation = window.ConversationController.lookupOrCreate({
e164: 'author' in quote ? quote.author : undefined,
uuid: authorUuid,
reason: 'helpers.isQuoteAMatch',
});
return (
@@ -143,6 +144,7 @@ export function getContactId(
const conversation = window.ConversationController.lookupOrCreate({
e164: source,
uuid: sourceUuid,
reason: 'helpers.getContactId',
});
return conversation?.id;
}