I don't actually think we need that.
parent
7d887cea4b
commit
dd66bce930
|
@ -7,7 +7,7 @@ class PushUpdateWorker
|
|||
account = Account.find(account_id)
|
||||
status = Status.find(status_id)
|
||||
message = inline_render(account, 'api/v1/statuses/show', status)
|
||||
queue_at = (Time.now.to_f * 1000.0).to_i
|
||||
|
||||
ActionCable.server.broadcast("timeline:#{account_id}", type: 'update', timeline: timeline, message: message)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue