Revert "[feature] chat component can now show clickable urls"

This reverts commit 02cbe6c19b4c4d676094f849cd05a740feb2360a.
This commit is contained in:
Ulf Gebhardt 2023-07-19 12:13:18 +02:00
parent 02cbe6c19b
commit 6acdde177f
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -315,12 +315,6 @@ export default {
this.messagesLoaded = true
}
this.messagePage += 1
// hacky way to make urls clickable for the chat component
// --> linkify in the backend is changing the syntax of the url
this.messages.forEach((msg) => {
msg.content = msg.content.replace(/<\/?a[^>]*>/g, '')
})
} catch (error) {
this.messages = []
this.$toast.error(error.message)