matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.67k stars 664 forks source link

Implement /preview_url #2296

Open r3k2 opened 2 years ago

r3k2 commented 2 years ago

Background information

go version go1.18 linux/arm64

After almost 2 years running dendrite I never really got the rss/link/images previews no matter how many times I enable it on element-web or element-desktop etc since this is not a big deal and have other bigger issues to fix I never brought it up. Who is affected all my users on our dendrite server.

I do not see any logs that will output or spit anything related is just ignored. I enabled and disable a couple times the render images option to see if it help, today I did again with no luck.

Steps to reproduce

Someone post a URL and on matrix.org I can see the preview but on my dendrite user account I can not. Same with bots and anything/anyone that pastes a url or anything to preview.

I am in contact with Keg over matrix but for bigger issues, he has access to my server if needed for troubleshooting.

kegsay commented 2 years ago

We don't have /preview_url support in yet I think - https://spec.matrix.org/latest/client-server-api/#get_matrixmediav3preview_url

NickCao commented 2 years ago

We don't have /preview_url support in yet I think - https://spec.matrix.org/latest/client-server-api/#get_matrixmediav3preview_url

Is this in the roadmap?