This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix RemoveStatusService trying to send delete salmons on behalf of remote statuses
closed-social-v3
Eugen Rochko
8 years ago
parent
de1f3aab86
commit
0895ff414e
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/services/remove_status_service.rb
+ 1
- 0
app/services/remove_status_service.rb
View File
@ -34,6 +34,7 @@ class RemoveStatusService < BaseService
end
def
send_delete_salmon
(
account
,
status
)
return
unless
status
.
local?
NotificationWorker
.
perform_async
(
status
.
stream_entry
.
id
,
account
.
id
)
end
Write
Preview
Loading…
Cancel
Save