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

这个提交存在于:
Kurtis Rainbolt-Greene 2017-04-04 20:36:03 -07:00 提交者 GitHub
父节点 1e96ce378e
当前提交 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