|
|
@ -8,6 +8,6 @@ class PushUpdateWorker
|
|
|
|
status = Status.find(status_id)
|
|
|
|
status = Status.find(status_id)
|
|
|
|
message = inline_render(account, 'api/v1/statuses/show', status)
|
|
|
|
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
|
|
|
|
end
|
|
|
|
end
|
|
|
|