You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
metu.life/app/services/remove_status_service.rb

10 lines
272 B

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