Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Fix discord media in matrix#53

Merged
FarisZR merged 2 commits intomainfrom
fix-discord-media
Feb 17, 2024
Merged

Fix discord media in matrix#53
FarisZR merged 2 commits intomainfrom
fix-discord-media

Conversation

@FarisZR
Copy link
Copy Markdown
Member

@FarisZR FarisZR commented Feb 17, 2024

This PR introduces a fix for media coming from discord without needing to store them on the server.
It uses our fork of the discord_cdn project (https://github.com/aosus/Discord_CDN), which has some patches to make it work well in docker.

It will redirect any normal CDN links to signed ones fetched using a user token.

This workaround doesn't proxy the redirect (couldn't figure it out), which means this won't work with homeservers without support for MSC3860, but since synapse supports it, that pretty much covers 95% of matrix server out there.

fix https://github.com/aosus/infrastructure-meta/issues/5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant