mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-01 19:21:52 +00:00
![Ashish Kumar](/assets/img/avatar_default.png)
Fixes check_avatar_size_and_mime_type() to successfully update avatars on homeservers running on non-default ports which it would mistakenly treat as remote homeserver while validating the avatar's size and mime type. Signed-off-by: Ashish Kumar ashfame@users.noreply.github.com
2 lines
211 B
Plaintext
2 lines
211 B
Plaintext
Fix a bug which prevented setting an avatar on homeservers which have an explicit port in their `server_name` and have `max_avatar_size` and/or `allowed_avatar_mimetypes` configuration. Contributed by @ashfame.
|