Fix panic (matrix). Closes #316

pull/330/head
Wim 7 years ago
parent 0a91b9e1c9
commit 4a4a29c9f6

@ -106,6 +106,7 @@ func (b *Bmatrix) Send(msg config.Message) (string, error) {
res, err := b.mc.UploadToContentRepo(content, mtype, int64(len(*fi.Data)))
if err != nil {
flog.Errorf("file upload failed: %#v", err)
continue
}
if strings.Contains(mtype, "video") {
flog.Debugf("sendVideo %s", res.ContentURI)

Loading…
Cancel
Save