mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
Merge 2529201bf2
into 5f54981846
This commit is contained in:
commit
2a1b395e4d
|
@ -54,9 +54,9 @@ class FanOutOnWriteService < BaseService
|
|||
|
||||
payload = FeedManager.instance.inline_render(nil, 'api/v1/statuses/show', status)
|
||||
|
||||
status.tags.find_each do |tag|
|
||||
FeedManager.instance.broadcast("hashtag:#{tag.name}", event: 'update', payload: payload)
|
||||
FeedManager.instance.broadcast("hashtag:#{tag.name}:local", event: 'update', payload: payload) if status.account.local?
|
||||
status.tags.pluck(:name) do |name|
|
||||
FeedManager.instance.broadcast("hashtag:#{name}", event: 'update', payload: payload)
|
||||
FeedManager.instance.broadcast("hashtag:#{name}:local", event: 'update', payload: payload) if status.account.local?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user