Skip to content

MSC4452: Preview URL capability#19715

Open
Half-Shot wants to merge 13 commits intodevelopfrom
hs/4452-url-preview-caps
Open

MSC4452: Preview URL capability#19715
Half-Shot wants to merge 13 commits intodevelopfrom
hs/4452-url-preview-caps

Conversation

@Half-Shot
Copy link
Copy Markdown
Member

@Half-Shot Half-Shot requested a review from a team as a code owner April 21, 2026 16:26
Copy link
Copy Markdown
Contributor

@velikopter velikopter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will also need to return a 403/M_FORBIDDEN, which requires always registering the servlet in synapse/rest/client/media.py.

Comment thread tests/rest/client/test_capabilities.py
@Half-Shot
Copy link
Copy Markdown
Member Author

We will also need to return a 403/M_FORBIDDEN, which requires always registering the servlet in synapse/rest/client/media.py.

Yep, got distracted 🫠 . Will do.

Comment thread tests/rest/client/test_media.py Outdated
Comment thread tests/rest/client/test_media.py
Comment thread synapse/rest/client/capabilities.py Outdated
Comment thread synapse/rest/media/preview_url_resource.py Outdated
Copy link
Copy Markdown
Contributor

@reivilibre reivilibre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems broadly fine, appears to match the MSC, LGTM otherwise

Comment thread synapse/rest/media/preview_url_resource.py Outdated
Comment thread synapse/config/repository.py Outdated
Comment thread synapse/rest/client/media.py Outdated
@Half-Shot Half-Shot requested a review from reivilibre April 28, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants