Page MenuHomePhorge

FileHandler is not reactive against change in the mxc uri
Open, NormalPublicBUG

Description

Currently, FileHandler can only handle cases where the mxc uri does not change. Changing the mxc uri after the FileHandler is created has no effect.

Revisions and Commits

Event Timeline

This comment was removed by nannanko.
This comment was removed by nannanko.

FileHandler analyzes eventContent, checks whether it is encrypted and contains thumbnails, and performs download/cache.

D232 enables modify the eventContent of FileHandler at any time.

The mxcUri of FileHandler should not be set or modified explicitly.

https://spec.matrix.org/v1.16/client-server-api/#mfile