1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
documentation/app/services/remove_status_service.rb
2016-09-04 14:44:16 +02:00

11 lines
272 B
Ruby

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