Handle delete Salmons, todo: clean up timelines
This commit is contained in:
parent
1022d682dc
commit
a289c1d52f
4 changed files with 115 additions and 1 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue