Removed unused ostatus, activitypub actions from service code

• Removed:
- unused ostatus, activitypub actions from service code
This commit is contained in:
mgabdev
2020-11-09 12:25:14 -06:00
parent bfd1e1ef9d
commit 4100f3dd63
14 changed files with 0 additions and 264 deletions

View File

@@ -51,16 +51,6 @@ class Form::AccountBatch
def reject_follow!(follow)
follow.destroy
return unless follow.account.activitypub?
json = ActiveModelSerializers::SerializableResource.new(
follow,
serializer: ActivityPub::RejectFollowSerializer,
adapter: ActivityPub::Adapter
).to_json
ActivityPub::DeliveryWorker.perform_async(json, current_account.id, follow.account.inbox_url)
end
def approve!