activitypub: refactor relay concerns into new relay module
This commit is contained in:
parent
00e890264c
commit
b7ca7f282a
2 changed files with 9 additions and 1 deletions
7
lib/pleroma/web/activity_pub/relay.ex
Normal file
7
lib/pleroma/web/activity_pub/relay.ex
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
defmodule Pleroma.Web.ActivityPub.Relay do
|
||||
alias Pleroma.User
|
||||
|
||||
def get_actor do
|
||||
User.get_or_create_instance_user()
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue