Don't show duplicate modals on signal.me links

This commit is contained in:
Fedor Indutny 2022-12-13 14:55:33 -08:00 committed by GitHub
parent 7cd566726f
commit 19e51862ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -494,6 +494,8 @@ export function createIPCEvents(
trigger('showConversation', convoId);
return;
}
// We will show not found modal on error
return;
}
const maybeUsername = parseUsernameFromSignalDotMeHash(hash);
@ -508,6 +510,8 @@ export function createIPCEvents(
trigger('showConversation', convoId);
return;
}
// We will show not found modal on error
return;
}
log.info('showConversationViaSignalDotMe: invalid E164');