Skip to content

Commit

Permalink
bring back preview message check
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNi245 committed Jul 31, 2024
1 parent c495b38 commit 4826be6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ export function Contacts() {

// don't include the preview of acknowledgment msgs
if (messages?.length > 0) {
return messages[0].envelop.message.metadata.type !==
'READ_OPENED' &&
messages[0].envelop.message.metadata.type !== 'READ_RECEIVED' &&
return messages[0].envelop.message.metadata.type === 'NEW' &&
messages[0].envelop.message.message
? messages[0].envelop.message.message
: '';
Expand Down

0 comments on commit 4826be6

Please sign in to comment.