mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 01:11:37 +01:00
Quick fix for avatars with the same URL not being perceived as updated and in need of re-download
This commit is contained in:
parent
8b16f81882
commit
f2931af61e
2 changed files with 2 additions and 2 deletions
|
@ -275,6 +275,6 @@ module AtomBuilderHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def single_link_avatar(xml, account, size, px)
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue