From ad5ae3f60e5e0745912bfbc0926f6cf8bc6e9eb4 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 28 Feb 2016 14:26:26 +0100 Subject: Update profile information and download avatar of remote accounts --- app/views/atom/user_stream.xml.ruby | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/views/atom/user_stream.xml.ruby') diff --git a/app/views/atom/user_stream.xml.ruby b/app/views/atom/user_stream.xml.ruby index d7e0d5843..00b2cdc14 100644 --- a/app/views/atom/user_stream.xml.ruby +++ b/app/views/atom/user_stream.xml.ruby @@ -4,12 +4,13 @@ Nokogiri::XML::Builder.new do |xml| title xml, @account.display_name subtitle xml, @account.note updated_at xml, stream_updated_at + logo xml, asset_url(@account.avatar.url(:medium)) author(xml) do include_author xml, @account end - link_alternate xml, profile_url(name: @account.username) + link_alternate xml, profile_url(@account) link_self xml, atom_user_stream_url(id: @account.id) link_hub xml, HUB_URL link_salmon xml, salmon_url(@account) -- cgit