mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-03-30 17:58:06 -04:00

Only allow files which file size and content types match configured limits to be set as avatar. Most of the inspiration from the non-test code comes from matrix-org/synapse-dinsic#19