diff --git a/src/qml/GroupChatDrawerHeader.qml b/src/qml/GroupChatDrawerHeader.qml index b4c6428bd..da315869b 100644 --- a/src/qml/GroupChatDrawerHeader.qml +++ b/src/qml/GroupChatDrawerHeader.qml @@ -83,8 +83,7 @@ ColumnLayout { visible: text.length > 0 - text: root.room && root.room.topic ? root.room.topic.replace(replaceLinks, "$1") : "" - readonly property var replaceLinks: /(http[s]?:\/\/[^ \r\n]*)/g + text: root.room && root.room.topic ? root.room.topic : "" textFormat: TextEdit.MarkdownText wrapMode: Text.Wrap onLinkActivated: link => UrlHelper.openUrl(link)