Revert streaming removals 2c8b4f7fb, 574b45e04, 8313f4b11

• Revert:
- streaming removals 2c8b4f7fb, 574b45e04, 8313f4b11
This commit is contained in:
mgabdev
2021-01-25 15:52:52 -05:00
parent e8a436f865
commit b4ba3c70ef
6 changed files with 10 additions and 10 deletions

View File

@@ -180,8 +180,8 @@ class FetchLinkCardService < BaseService
end
def send_status_update_payload(status)
# @payload = InlineRenderer.render(status, nil, :status)
# @payload = Oj.dump(event: :update, payload: @payload)
# Redis.current.publish("statuscard:#{status.account_id}", @payload)
@payload = InlineRenderer.render(status, nil, :status)
@payload = Oj.dump(event: :update, payload: @payload)
Redis.current.publish("statuscard:#{status.account_id}", @payload)
end
end