Skip to content

Commit

Permalink
fixup! fix: nil reading_user skip restrict_blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
kphrx authored Sep 4, 2024
1 parent c52a356 commit 2818f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pleroma/web/activity_pub/activity_pub.ex
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|> Map.put(:pinned_object_ids, Map.keys(user.pinned_objects))

params =
if is_nil(reading_user) || User.blocks?(reading_user, user) do
if User.blocks?(reading_user, user) do
params
else
params
Expand Down

0 comments on commit 2818f94

Please sign in to comment.