Re-enable downloading images

This commit is contained in:
Tulir Asokan 2019-06-16 15:19:42 +03:00
parent 8b87809ac1
commit b019266062
2 changed files with 2 additions and 2 deletions

View File

@ -707,7 +707,7 @@ func (c *Container) Download(mxcURL string) (data []byte, hs, id string, err err
}
}
//FIXME data, err = c.download(hs, id, cacheFile)
data, err = c.download(hs, id, cacheFile)
return
}

View File

@ -69,7 +69,7 @@ func (msg *ImageMessage) RegisterMatrix(matrix ifc.MatrixContainer) {
msg.matrix = matrix
if len(msg.data) == 0 {
//FIXME go msg.updateData()
go msg.updateData()
}
}