From 19e51862ba14491765a16f244216d7139f88def3 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Tue, 13 Dec 2022 14:55:33 -0800 Subject: [PATCH] Don't show duplicate modals on signal.me links --- ts/util/createIPCEvents.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts/util/createIPCEvents.tsx b/ts/util/createIPCEvents.tsx index 517d956293..e49face158 100644 --- a/ts/util/createIPCEvents.tsx +++ b/ts/util/createIPCEvents.tsx @@ -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');