diff --git a/src/gui/Pages/Chat/Timeline/EventContent.qml b/src/gui/Pages/Chat/Timeline/EventContent.qml index ae9d1c1e..012012bb 100644 --- a/src/gui/Pages/Chat/Timeline/EventContent.qml +++ b/src/gui/Pages/Chat/Timeline/EventContent.qml @@ -17,7 +17,7 @@ HRowLayout { const lines = [] for (const [name, link] of mentions) { - if (name.startsWith("#") || name.startsWith("!")) continue + if (! link.match(/^https?:\/\/matrix.to\/#\/@.+/)) continue lines.push( `.mention[data-mention='${name}'] { color: ` +