Fix signal.me links

This commit is contained in:
Fedor Indutny
2022-08-24 10:33:48 -07:00
committed by GitHub
parent 6e3ec163dc
commit 2237f08507

View File

@@ -489,8 +489,13 @@ export function createIPCEvents(
const maybeE164 = parseE164FromSignalDotMeHash(hash);
if (maybeE164) {
trigger('showConversation', maybeE164);
return;
const convo = window.ConversationController.lookupOrCreate({
e164: maybeE164,
});
if (convo) {
trigger('showConversation', convo.id);
return;
}
}
log.info('showConversationViaSignalDotMe: invalid E164');