even more formatting
This commit is contained in:
parent
990cde7439
commit
82225dfc8d
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.RejectNonPublic do
|
||||||
alias Pleroma.User
|
alias Pleroma.User
|
||||||
@behaviour Pleroma.Web.ActivityPub.MRF
|
@behaviour Pleroma.Web.ActivityPub.MRF
|
||||||
|
|
||||||
|
@impl true
|
||||||
def filter(object) do
|
def filter(object) do
|
||||||
if object["type"] == "Create" do
|
if object["type"] == "Create" do
|
||||||
user = User.get_by_ap_id(object["actor"])
|
user = User.get_by_ap_id(object["actor"])
|
||||||
|
|
Loading…
Reference in a new issue