mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 17:12:37 +01:00
Fix panic (matrix). Closes #316
This commit is contained in:
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…
Reference in New Issue
Block a user