fix(chat): enable tld validation in autolinking and add online to accepted tlds
This commit is contained in:
parent
809196527d
commit
a86049729e
@ -110,7 +110,7 @@ export const ChatUserMessage: FC<ChatUserMessageProps> = ({
|
||||
className={styles.message}
|
||||
content={body}
|
||||
matchers={[
|
||||
new UrlMatcher('url', { validateTLD: false }),
|
||||
new UrlMatcher('url', { customTLDs: ['online'] }),
|
||||
new ChatMessageHighlightMatcher('highlight', { highlightString }),
|
||||
]}
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user