Revert "FIX : Chat: words containing one or more dots are turned into links #2898 (#2903)"

This reverts commit 11a3a79032.
This commit is contained in:
Gabe Kangas 2023-04-03 18:28:25 -07:00
parent 931772d850
commit d346485f94
No known key found for this signature in database
GPG key ID: 4345B2060657F330
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ export const ChatSystemMessage: FC<ChatSystemMessageProps> = ({
className={styles.message} className={styles.message}
content={body} content={body}
matchers={[ matchers={[
new UrlMatcher('url', { customTLDs: ['online'] }), new UrlMatcher('url', { validateTLD: false }),
new ChatMessageHighlightMatcher('highlight', { highlightString }), new ChatMessageHighlightMatcher('highlight', { highlightString }),
]} ]}
/> />

View file

@ -110,7 +110,7 @@ export const ChatUserMessage: FC<ChatUserMessageProps> = ({
className={styles.message} className={styles.message}
content={body} content={body}
matchers={[ matchers={[
new UrlMatcher('url', { customTLDs: ['online'] }), new UrlMatcher('url', { validateTLD: false }),
new ChatMessageHighlightMatcher('highlight', { highlightString }), new ChatMessageHighlightMatcher('highlight', { highlightString }),
]} ]}
/> />