1
0

Federated profile bio now formatted

This commit is contained in:
Eugen Rochko 2016-12-21 19:10:19 +01:00
parent c128fcee16
commit c4bc5c8930

View File

@ -100,7 +100,7 @@ module AtomBuilderHelper
def portable_contact(xml, account) def portable_contact(xml, account)
xml['poco'].preferredUsername account.username xml['poco'].preferredUsername account.username
xml['poco'].displayName(account.display_name) unless account.display_name.blank? xml['poco'].displayName(account.display_name) unless account.display_name.blank?
xml['poco'].note(account.note) unless account.note.blank? xml['poco'].note(Formatter.instance.simplified_format(account)) unless account.note.blank?
end end
def in_reply_to(xml, uri, url) def in_reply_to(xml, uri, url)