-
- Downloads
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.
Showing
- app/lib/ostatus/activity/deletion.rb 3 additions, 1 deletionapp/lib/ostatus/activity/deletion.rb
- app/lib/ostatus/atom_serializer.rb 3 additions, 0 deletionsapp/lib/ostatus/atom_serializer.rb
- app/models/status.rb 11 additions, 2 deletionsapp/models/status.rb
- app/services/batched_remove_status_service.rb 14 additions, 10 deletionsapp/services/batched_remove_status_service.rb
- app/services/remove_status_service.rb 1 addition, 3 deletionsapp/services/remove_status_service.rb
- app/workers/pubsubhubbub/raw_distribution_worker.rb 22 additions, 0 deletionsapp/workers/pubsubhubbub/raw_distribution_worker.rb
- spec/services/batched_remove_status_service_spec.rb 3 additions, 4 deletionsspec/services/batched_remove_status_service_spec.rb
Loading
Please register or sign in to comment