From 025b844ccef3e3553c05f81413e4dca8290c304f Mon Sep 17 00:00:00 2001 From: William Grant Date: Fri, 19 May 2023 12:03:47 +1000 Subject: [PATCH] fix: moved referencedMessageNotFound to first in quoteNotFound because it is the most likely to happen --- .../conversation/message/message-content/MessageQuote.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/conversation/message/message-content/MessageQuote.tsx b/ts/components/conversation/message/message-content/MessageQuote.tsx index 3629709bf..4f0acf481 100644 --- a/ts/components/conversation/message/message-content/MessageQuote.tsx +++ b/ts/components/conversation/message/message-content/MessageQuote.tsx @@ -38,7 +38,7 @@ export const MessageQuote = (props: Props) => { } const quoteNotFound = Boolean( - !quote?.author || !quote.id || !quote.convoId || quote.referencedMessageNotFound + quote.referencedMessageNotFound || !quote?.author || !quote.id || !quote.convoId ); const quoteText = quote?.text || null;