Handle delete Salmons, todo: clean up timelines
This commit is contained in:
10
app/services/remove_status_service.rb
Normal file
10
app/services/remove_status_service.rb
Normal file
@ -0,0 +1,10 @@
|
||||
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
|
Reference in New Issue
Block a user