]> cat aescling's git repositories - mastodon.git/commitdiff
I don't actually think we need that.
authorKurtis Rainbolt-Greene <kurtis@rainbolt-greene.online>
Wed, 5 Apr 2017 03:48:22 +0000 (20:48 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Apr 2017 03:48:22 +0000 (20:48 -0700)
app/workers/push_update_worker.rb

index 6512e13adae8e74be1b34ceec5b268024724ce73..5b5e9f68a442d2f479461bc6e81322c41f62b969 100644 (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