Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix discord media in matrix #53

Merged
merged 2 commits into from
Feb 17, 2024
Merged

Fix discord media in matrix #53

merged 2 commits into from
Feb 17, 2024

Conversation

FarisZR
Copy link
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 aosus/infrastructure-meta#5

@FarisZR FarisZR merged commit 93ff7dc into main Feb 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant