diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-02-12 14:58:12 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-02-12 14:58:12 +0200 |
commit | 01523ae8cee20695eb6e9d0c4ecd705c6a317baa (patch) | |
tree | a9afd1af01d306201cb0fcac26f21cf8398ce915 /ui | |
parent | ae36b9cddd1332fbf3ec3160ef4ad269619e445b (diff) |
Fix go vet warning
Diffstat (limited to 'ui')
-rw-r--r-- | ui/messages/imagemessage.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/messages/imagemessage.go b/ui/messages/imagemessage.go index 0efe676..cad76a4 100644 --- a/ui/messages/imagemessage.go +++ b/ui/messages/imagemessage.go @@ -80,7 +80,7 @@ func (msg *ImageMessage) updateData() { debug.Print("Loading image:", msg.Homeserver, msg.FileID) data, _, _, err := msg.matrix.Download(fmt.Sprintf("mxc://%s/%s", msg.Homeserver, msg.FileID)) if err != nil { - debug.Print("Failed to download image %s/%s: %v", msg.Homeserver, msg.FileID, err) + debug.Printf("Failed to download image %s/%s: %v", msg.Homeserver, msg.FileID, err) return } debug.Print("Image", msg.Homeserver, msg.FileID, "loaded.") |