diff --git a/chat/package.json b/chat/package.json index 255b95924..f6297a36e 100644 --- a/chat/package.json +++ b/chat/package.json @@ -1,6 +1,6 @@ { "name": "chat", - "version": "0.1.8", + "version": "0.1.9", "main": "./src/index.tsx", "license": "MIT", "dependencies": { diff --git a/chat/src/features/chat/ChatMessage.tsx b/chat/src/features/chat/ChatMessage.tsx index caeafba21..334fecc44 100644 --- a/chat/src/features/chat/ChatMessage.tsx +++ b/chat/src/features/chat/ChatMessage.tsx @@ -56,9 +56,10 @@ export function ChatMessage({ const quotedMessage = messageLookup[quotes]; const content = censored ? text_censored : text_html; const isMention = - text_html.includes(`/id/${userId}`) && - userUsername && - username !== userUsername; + quotedMessage?.username === userUsername || + (text_html.includes(`/id/${userId}`) && + userUsername && + username !== userUsername); const timestamp = useMemo( () => formatTimeAgo(time), [time, timestampUpdates]