-
Notifications
You must be signed in to change notification settings - Fork 52
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
Drop attachment requirements for media download #646
Conversation
Fix operand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought inline media still had file names?
Also, can we add a test for ensuring that a known unsafe (e.g. pdfs?) content is returned as an attachment? I know its not specced, but it is a security thing so I'd like not to lose the test. We can always mark it as synapse specific.
Co-authored-by: Erik Johnston <erik@matrix.org>
@kegsay has been review requested because of the SVG file, but I'm unsure how much he cares to review it. Of course, more than welcome :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise i think LGTM
I updated this to handle the remaining review comments. I think this is ready for another review. |
Fixes #645
For matrix-org/synapse#15988