gearheads
/
mastodon
Archived
2
0
Fork 0

I don't actually think we need that.

gh/stable
Kurtis Rainbolt-Greene 2017-04-04 20:48:22 -07:00 committed by GitHub
parent 0069c01285
commit 220051b8b2
1 changed files with 1 additions and 1 deletions

View File

@ -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