diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-17 01:50:01 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-17 01:50:01 +0100 |
commit | f2931af61ebf2c84d895c398654194321972320d (patch) | |
tree | 534813dd233be0f9fd9c3217bf93abafc41cca19 /app/helpers/atom_builder_helper.rb | |
parent | 8b16f8188203c4761970997a83f4de784cbc1b76 (diff) |
Quick fix for avatars with the same URL not being perceived as updated and in need of re-download
Diffstat (limited to 'app/helpers/atom_builder_helper.rb')
-rw-r--r-- | app/helpers/atom_builder_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/atom_builder_helper.rb b/app/helpers/atom_builder_helper.rb index 085a97cda..8ca3cde26 100644 --- a/app/helpers/atom_builder_helper.rb +++ b/app/helpers/atom_builder_helper.rb @@ -275,6 +275,6 @@ module AtomBuilderHelper end def single_link_avatar(xml, account, size, px) - xml.link('rel' => 'avatar', 'type' => account.avatar_content_type, 'media:width' => px, 'media:height' => px, 'href' => full_asset_url(account.avatar.url(size, false))) + xml.link('rel' => 'avatar', 'type' => account.avatar_content_type, 'media:width' => px, 'media:height' => px, 'href' => full_asset_url(account.avatar.url(size))) end end |