Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(chat) dont emojify matrix ids (#14492)

Christoph Settgastb43379a0bca4
diff --git a/react/features/base/react/components/web/Message.tsx b/react/features/base/react/components/web/Message.tsx
index 4edaa412f8..36f58f700b 100644
--- a/react/features/base/react/components/web/Message.tsx
+++ b/react/features/base/react/components/web/Message.tsx
@@ -56,9 +56,9 @@ class Message extends Component<IProps> {
} else {
for (const token of tokens) {
- if (token.includes('://')) {
+ if (token.includes('://') || token.startsWith('@')) {
- // Bypass the emojification when urls are involved
+ // Bypass the emojification when urls or matrix ids are involved
content.push(token);
} else {
content.push(...toArray(token, { className: 'smiley' }));