Browse Source

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

closed-social-glitch-2
Kurtis Rainbolt-Greene 7 years ago
committed by GitHub
parent
commit
96ef933820
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/workers/push_update_worker.rb

+ 1
- 1
app/workers/push_update_worker.rb View File

@ -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…
Cancel
Save