diff --git a/plugins/plugins.go b/plugins/plugins.go index db32b09..6c175fc 100644 --- a/plugins/plugins.go +++ b/plugins/plugins.go @@ -268,7 +268,7 @@ func SendImage(c *gomatrix.Client, roomID string, img *image.RGBA) error { return err } - _, err = c.SendImage(roomID, "", mediaURL.ContentURI) + _, err = c.SendImage(roomID, "embedded_image.png", mediaURL.ContentURI) if err != nil { return err }