mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-24 00:54:02 -05:00
Replacing the broadcast method with the one defined in the feed manager
This commit is contained in:
parent
1e96ce378e
commit
96ef933820
@ -8,6 +8,6 @@ class PushUpdateWorker
|
||||
status = Status.find(status_id)
|
||||
message = inline_render(account, 'api/v1/statuses/show', status)
|
||||
|
||||
broadcast(account_id, type: 'update', timeline: timeline, message: message)
|
||||
ActionCable.server.broadcast("timeline:#{account_id}", type: 'update', timeline: timeline, message: message)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user