instante-social/app/services/remove_status_service.rb

11 lines
272 B
Ruby
Raw Normal View History

class RemoveStatusService < BaseService
def call(status)
status.destroy!
# TODO
# Remove from timelines of self, followers, and mentioned accounts
# For remote mentioned accounts, send delete Salmon
# Push delete event through ActionCable
end
end