mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-27 16:24:14 +00:00
11 lines
272 B
Ruby
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
|