Skip to content
Snippets Groups Projects
Commit 96ef9338 authored by Kurtis Rainbolt-Greene's avatar Kurtis Rainbolt-Greene Committed by GitHub
Browse files

Replacing the broadcast method with the one defined in the feed manager

parent 1e96ce37
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment