Closed Midek closed 4 years ago
Anything going on with this? I'd really like to be able to access images in gomuks; it's, like, the number 1 thing that's missing for me in gomuks
Not yet, have to chase bugs in other projects first.
If you want to take a shot at this, it should be relatively straight forward to edit this method and modify the event_dict
if the event is a media event.
When displaying images, non-e2ee clients expect
thumbnail_url
andurl
while apparently pantalaimon sends themfile
andthumbnail_file
instead. Because of that clients fail to display encrypted images.Pantalaimon should probably modify event content, so clients can request proper image url and display it properly.
Here is example event source from Fractal:
Fractal failed to display this encrypted image, even though when i tried to manually curl
http://127.0.0.1:8009/_matrix/media/r0/download/midov.pl/hjvXjEXFjyKCDzTaEcHqALaS
, it was decrypted properly.