]> cat aescling's git repositories - mastodon.git/commit
Don't resize avatars/headers if their dimensions are already right (#6508)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 19 Feb 2018 15:06:12 +0000 (16:06 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2018 15:06:12 +0000 (16:06 +0100)
commit66105929e07fc7ddbdb8b66696b9ce1ed5d25957
tree325291f6c8a7804a16e898c9c56996195036f59e
parentcbb69d41f6eda4d997f7bcb89e9aef8fd8bec2e4
Don't resize avatars/headers if their dimensions are already right (#6508)

Also don't apply "-quality 80" option which is probably the reason
for slight color differences between original and remote image
(because it would apply it twice, once on original instance, and
again on the receiving instance)
app/models/concerns/account_avatar.rb
app/models/concerns/account_header.rb