Skip to content
Snippets Groups Projects
Commit c9ebd5d1 authored by Eugen's avatar Eugen Committed by GitHub
Browse files

Fix wrong variable used in publish channel

parent 1b8c244d
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ class PushUpdateWorker
scope: InlineRablScope.new(account)
)
Redis.current.publish("timeline:#{timeline_id}", Oj.dump({ event: :update, payload: message, queued_at: (Time.now.to_f * 1000.0).to_i }))
Redis.current.publish("timeline:#{account.id}", Oj.dump({ event: :update, payload: message, queued_at: (Time.now.to_f * 1000.0).to_i }))
rescue ActiveRecord::RecordNotFound
true
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment