mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 09:20:27 +00: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