Added status.account_id to redis socket for statuscard stream
This commit is contained in:
parent
30c30c696a
commit
f21f2651d6
@ -187,6 +187,6 @@ class FetchLinkCardService < BaseService
|
|||||||
def send_status_update_payload(status)
|
def send_status_update_payload(status)
|
||||||
@payload = InlineRenderer.render(status, nil, :status)
|
@payload = InlineRenderer.render(status, nil, :status)
|
||||||
@payload = Oj.dump(event: :update, payload: @payload)
|
@payload = Oj.dump(event: :update, payload: @payload)
|
||||||
Redis.current.publish('statuscard', @payload)
|
Redis.current.publish("statuscard:#{status.account_id}", @payload)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user