mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-27 18:59:18 +00:00
Fix processing of Delete activities on direct messages
This commit is contained in:
parent
4acb5c90a2
commit
1978f7265e
|
@ -160,7 +160,7 @@ class RemoveStatusService < BaseService
|
|||
end
|
||||
|
||||
def remove_from_direct
|
||||
@mentions.each do |mention|
|
||||
@status.active_mentions.each do |mention|
|
||||
FeedManager.instance.unpush_from_direct(mention.account, @status) if mention.account.local?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue