Skip to content
Snippets Groups Projects
Commit f2931af6 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Quick fix for avatars with the same URL not being perceived as updated and in need of re-download

parent 8b16f818
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -6,7 +6,7 @@ Nokogiri::XML::Builder.new do |xml|
title xml, @account.display_name
subtitle xml, @account.note
updated_at xml, stream_updated_at
logo xml, full_asset_url(@account.avatar.url( :original))
logo xml, full_asset_url(@account.avatar.url(:original))
author(xml) do
include_author xml, @account
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment