Commit f21f2651 authored by mgabdev's avatar mgabdev

Added status.account_id to redis socket for statuscard stream

parent 30c30c69
......@@ -187,6 +187,6 @@ class FetchLinkCardService < BaseService
def send_status_update_payload(status)
@payload = InlineRenderer.render(status, nil, :status)
@payload = Oj.dump(event: :update, payload: @payload)
Redis.current.publish('statuscard', @payload)
Redis.current.publish("statuscard:#{status.account_id}", @payload)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment