From 2237f08507c4e64d2a8bb7ea11af40180f2c04db Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 24 Aug 2022 10:33:48 -0700 Subject: [PATCH] Fix signal.me links --- ts/util/createIPCEvents.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ts/util/createIPCEvents.tsx b/ts/util/createIPCEvents.tsx index fcc345fc2f..69e2741f9a 100644 --- a/ts/util/createIPCEvents.tsx +++ b/ts/util/createIPCEvents.tsx @@ -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');