Fix sending to embedded contact

This commit is contained in:
Fedor Indutny 2022-06-27 17:37:05 -07:00 committed by GitHub
parent bae3394efc
commit e0f479ca81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 6 deletions

View file

@ -54,7 +54,7 @@ function checkForAccount(
const conversation = window.ConversationController.get(phoneNumber);
if (conversation && conversation.get('uuid')) {
log.error(`checkForAccount: found ${phoneNumber} in existing contacts`);
log.info(`checkForAccount: found ${phoneNumber} in existing contacts`);
const uuid = conversation.get('uuid');
dispatch({
@ -81,7 +81,7 @@ function checkForAccount(
let uuid: UUIDStringType | undefined;
log.error(`checkForAccount: looking ${phoneNumber} up on server`);
log.info(`checkForAccount: looking ${phoneNumber} up on server`);
try {
const uuidLookup = await window.textsecure.messaging.getUuidsForE164s([
phoneNumber,