mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-13 06:35:08 +01: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
|
end
|
||||||
|
|
||||||
def remove_from_direct
|
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?
|
FeedManager.instance.unpush_from_direct(mention.account, @status) if mention.account.local?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user