0
0
Fork 0

Add tuning documentation, add <content> tags back to most salmons,

make status pagination headers generation more lax about next page
existing
This commit is contained in:
Eugen Rochko 2017-02-25 03:34:37 +01:00
parent 9d4cad6307
commit 3e9d794ea5
9 changed files with 131 additions and 11 deletions

View file

@ -13,10 +13,13 @@ class UnfollowService < BaseService
private
def build_xml(follow)
description = "#{follow.account.acct} is no longer following #{follow.target_account.acct}"
Nokogiri::XML::Builder.new do |xml|
entry(xml, true) do
unique_id xml, Time.now.utc, follow.id, 'Follow'
title xml, "#{follow.account.acct} is no longer following #{follow.target_account.acct}"
title xml, description
content xml, description
author(xml) do
include_author xml, follow.account