don't show notification if reaction

This commit is contained in:
2024-09-26 23:47:26 +03:00
parent 0810381455
commit 9b14f5be19
4 changed files with 8 additions and 5 deletions

View File

@@ -128,7 +128,7 @@ export const ChatGroup = ({selectedGroup, secretKey, setSecretKey, getSecretKey,
id: item.signature,
text: item?.decryptedData?.message || "",
repliedTo: item?.decryptedData?.repliedTo,
unread: item?.sender === myAddress ? false : true
unread: item?.sender === myAddress ? false : !!item?.chatReference ? false : true
}
} )
setMessages((prev)=> [...prev, ...formatted])