element-hq / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://element-hq.github.io/dendrite/
GNU Affero General Public License v3.0
3 stars 2 forks source link

Url preview endpoint #3444

Open adnull opened 8 hours ago

adnull commented 8 hours ago

This PR introduces the missing URL Preview functionality ( Issue https://github.com/matrix-org/dendrite/issues/1303 )

According to the specification that endpoint requests require authentication and are rate limited. There are both endpoints (v1 and v3) as some clients still use deprecated endpoints for url preview requests.

Key features:

Missing:

I'd like somebody to take a look at the code.

Signed-off-by: adnull <d.lexand@gmail.com>

CLAassistant commented 8 hours ago

CLA assistant check
All committers have signed the CLA.