mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 20:13:43 +01:00
Fix wrong variable used in publish channel
This commit is contained in:
parent
1b8c244dff
commit
c9ebd5d19f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class PushUpdateWorker
|
||||||
scope: InlineRablScope.new(account)
|
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
|
rescue ActiveRecord::RecordNotFound
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue