Update profile information and download avatar of remote accounts
This commit is contained in:
@ -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)
|
||||
|
@ -7,4 +7,4 @@
|
||||
%span.num= status.favourites.count
|
||||
|
||||
- if status.reply?
|
||||
= link_to 'View conversation', status_url(status.thread), class: 'conversation-link'
|
||||
= link_to "In response to #{status.thread.account.acct}", status_url(status.thread), class: 'conversation-link'
|
||||
|
Reference in New Issue
Block a user