aboutsummaryrefslogtreecommitdiff
path: root/ui/messages
diff options
context:
space:
mode:
Diffstat (limited to 'ui/messages')
-rw-r--r--ui/messages/filemessage.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/messages/filemessage.go b/ui/messages/filemessage.go
index d2455ab..3d5e554 100644
--- a/ui/messages/filemessage.go
+++ b/ui/messages/filemessage.go
@@ -66,9 +66,9 @@ func NewFileMessage(matrix ifc.MatrixContainer, evt *muksevt.Event, displayname
return newUIMessage(evt, displayname, &FileMessage{
Type: content.MsgType,
Body: content.Body,
- URL: content.URL,
+ URL: content.URL.ParseOrIgnore(),
File: file,
- Thumbnail: content.GetInfo().ThumbnailURL,
+ Thumbnail: content.GetInfo().ThumbnailURL.ParseOrIgnore(),
ThumbnailFile: thumbnailFile,
matrix: matrix,
})