From 67a51415d0c53a13c71bc0a16a5a55d8706a91ed Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 30 Aug 2023 21:07:54 +0200 Subject: [PATCH] Don't show error dialog with valid ACI --- ts/util/isSafetyNumberNotAvailable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/util/isSafetyNumberNotAvailable.ts b/ts/util/isSafetyNumberNotAvailable.ts index a550588a9b8a..b7bfa16a1412 100644 --- a/ts/util/isSafetyNumberNotAvailable.ts +++ b/ts/util/isSafetyNumberNotAvailable.ts @@ -12,5 +12,5 @@ export const isSafetyNumberNotAvailable = ( return true; } - return isAciString(contact.serviceId); + return !isAciString(contact.serviceId); };