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

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 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.

Broken media from mautrix-discord bridge
1 participant