mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 18:43:41 -05:00
Re-enable downloading images
This commit is contained in:
parent
8b87809ac1
commit
b019266062
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue