Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEssem committed Aug 5, 2024
1 parent 11f34fc commit 5d91614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/status_cache_hydrator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def hydrate_non_reblog_payload(empty_payload, account_id)
payload[:bookmarked] = Bookmark.exists?(account_id: account_id, status_id: @status.id)
payload[:pinned] = StatusPin.exists?(account_id: account_id, status_id: @status.id) if @status.account_id == account_id
payload[:filtered] = mapped_applied_custom_filter(account_id, @status)
payload[:reactions] = serialized_reactions(account_id)
payload[:reactions] = serialized_reactions(account_id, @status)

if payload[:poll]
payload[:poll][:voted] = @status.account_id == account_id
Expand Down

0 comments on commit 5d91614

Please sign in to comment.