Apply ledyba's suggestion(s) to 1 file(s)

This commit is contained in:
tusooa 2024-03-07 04:43:56 +00:00 committed by Kaede Fujisaki
parent 0242c1f691
commit 1422082bf2

View file

@ -160,7 +160,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
defp should_federate?(inbox, public) do
cond do
inbox == nil ->
is_nil(inbox) ->
false
public ->