aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-02-12 14:58:12 +0200
committerTulir Asokan <tulir@maunium.net>2019-02-12 14:58:12 +0200
commit01523ae8cee20695eb6e9d0c4ecd705c6a317baa (patch)
treea9afd1af01d306201cb0fcac26f21cf8398ce915 /ui
parentae36b9cddd1332fbf3ec3160ef4ad269619e445b (diff)
Fix go vet warning
Diffstat (limited to 'ui')
-rw-r--r--ui/messages/imagemessage.go2
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.")