diff --git a/web/components/chat/ChatSystemMessage/ChatSystemMessage.tsx b/web/components/chat/ChatSystemMessage/ChatSystemMessage.tsx index 3e430ecfd..4c38d86ba 100644 --- a/web/components/chat/ChatSystemMessage/ChatSystemMessage.tsx +++ b/web/components/chat/ChatSystemMessage/ChatSystemMessage.tsx @@ -26,7 +26,7 @@ export const ChatSystemMessage: FC = ({ className={styles.message} content={body} matchers={[ - new UrlMatcher('url', { customTLDs: ['online'] }), + new UrlMatcher('url', { validateTLD: false }), new ChatMessageHighlightMatcher('highlight', { highlightString }), ]} /> diff --git a/web/components/chat/ChatUserMessage/ChatUserMessage.tsx b/web/components/chat/ChatUserMessage/ChatUserMessage.tsx index a9a8468ab..9d0115397 100644 --- a/web/components/chat/ChatUserMessage/ChatUserMessage.tsx +++ b/web/components/chat/ChatUserMessage/ChatUserMessage.tsx @@ -110,7 +110,7 @@ export const ChatUserMessage: FC = ({ className={styles.message} content={body} matchers={[ - new UrlMatcher('url', { customTLDs: ['online'] }), + new UrlMatcher('url', { validateTLD: false }), new ChatMessageHighlightMatcher('highlight', { highlightString }), ]} />