From c0ab1dff11423a59add454e475662fd86fad7c2f Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Fri, 6 Aug 2021 12:36:54 -0700 Subject: [PATCH] Change conversation color assert to warning --- ts/state/selectors/conversations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/state/selectors/conversations.ts b/ts/state/selectors/conversations.ts index 7b4bb8d808eb..66da107578af 100644 --- a/ts/state/selectors/conversations.ts +++ b/ts/state/selectors/conversations.ts @@ -879,7 +879,7 @@ export const getContactNameColorSelector = createSelector( ); const color = contactNameColors.get(contactId); if (!color) { - assert(false, `No color generated for contact ${contactId}`); + window.log.warn(`No color generated for contact ${contactId}`); return ContactNameColors[0]; } return color;