diff options
author | Kurtis Rainbolt-Greene <kurtis@rainbolt-greene.online> | 2017-04-04 20:48:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 20:48:22 -0700 |
commit | 220051b8b2d09a741f5edadd34e21115c5938bf0 (patch) | |
tree | 864a721690d7cdaf34a4882190f2a1516de329ee /app | |
parent | 0069c01285d7fc6b97220fd678f6e5b82f301b1a (diff) |
I don't actually think we need that.
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/push_update_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/push_update_worker.rb b/app/workers/push_update_worker.rb index 6512e13ad..5b5e9f68a 100644 --- a/app/workers/push_update_worker.rb +++ b/app/workers/push_update_worker.rb @@ -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 |