]> cat aescling's git repositories - mastodon.git/commit
Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 29 Aug 2017 14:11:05 +0000 (16:11 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2017 14:11:05 +0000 (16:11 +0200)
commit4c76402ba1d355061e7e208b7a2f8251388a38e1
treef76f71be7326e16ccaeaf74402f36c79973b734b
parent9958eba356210f1d0b89db368e17bbd72358e097
Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)

Requires moving Atom rendering from DistributionWorker (where
`stream_entry.status` is already nil) to inline (where
`stream_entry.status.destroyed?` is true) and distributing that.

Unfortunately, such XML renderings can no longer be easily chained
together into one payload of n items.
app/lib/ostatus/activity/deletion.rb
app/lib/ostatus/atom_serializer.rb
app/models/status.rb
app/services/batched_remove_status_service.rb
app/services/remove_status_service.rb
app/workers/pubsubhubbub/raw_distribution_worker.rb [new file with mode: 0644]
spec/services/batched_remove_status_service_spec.rb