Update profile information and download avatar of remote accounts
This commit is contained in:
parent
2825991e09
commit
ad5ae3f60e
9 changed files with 87 additions and 18 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue