Add IDs to salmon slaps even if they are transient. Add title, too, mostly
in case of debugging incoming salmons. Add <thr:in-reply-to /> to favourite salmons because it seems to be required by GS.
This commit is contained in:
@ -15,6 +15,7 @@ class UnfollowService < BaseService
|
||||
def build_xml(follow)
|
||||
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}"
|
||||
|
||||
author(xml) do
|
||||
|
Reference in New Issue
Block a user