Re-enable downloading images
This commit is contained in:
		@@ -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()
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user