0
0
Fork 0

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:
Eugen Rochko 2017-02-13 13:30:33 +01:00
parent df63461ff0
commit 8e08ae5bb9
8 changed files with 15 additions and 0 deletions

View file

@ -20,6 +20,7 @@ class BlockService < BaseService
def build_xml(block)
Nokogiri::XML::Builder.new do |xml|
entry(xml, true) do
unique_id xml, block.created_at, block.id, 'Block'
title xml, "#{block.account.acct} no longer wishes to interact with #{block.target_account.acct}"
author(xml) do