]> cat aescling's git repositories - mastodon.git/commit
Make avatar and headers respect `auto_play_gif` (#9515)
authorThibG <thib@sitedethib.com>
Fri, 14 Dec 2018 19:34:18 +0000 (20:34 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 14 Dec 2018 19:34:18 +0000 (20:34 +0100)
commit7c48688d85d0ab64501cea6b8a516867a786bb4c
tree90d06a2095d07892bfe724da313d21dfd0994833
parent7241db299c7299770791a8674f4d7efde0faff6d
Make avatar and headers respect `auto_play_gif` (#9515)

* Do not animate account header art if user's GIF autoplay setting is off

Fixes #9472

* Honour currently logged-in user's GIF autoplay setting for account avatars

Fixes #9467

* Fix avatar display on some public pages when data is stored on a different host

* Use ternary operator instead of if/else for avatar/header URL
app/helpers/home_helper.rb
app/javascript/mastodon/features/account/components/header.js
app/views/accounts/_header.html.haml