summaryrefslogtreecommitdiffstats
path: root/users/models/system_actor.py
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-10 13:24:49 -0700
committerAndrew Godwin2022-12-10 13:24:49 -0700
commit602e5a378057f3cd5ca355fd3ed2a17fcc147c72 (patch)
treeeaa950ac15e45a4a900ce7fa0fed400fadf50a17 /users/models/system_actor.py
parentfd5250059118a3f6932b4d39a085164b10577706 (diff)
downloadtakahe-602e5a378057f3cd5ca355fd3ed2a17fcc147c72.tar.gz
takahe-602e5a378057f3cd5ca355fd3ed2a17fcc147c72.tar.bz2
takahe-602e5a378057f3cd5ca355fd3ed2a17fcc147c72.zip
Add system actor and shared inbox
Diffstat (limited to 'users/models/system_actor.py')
-rw-r--r--users/models/system_actor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/users/models/system_actor.py b/users/models/system_actor.py
index c4319b9..fb5a9e1 100644
--- a/users/models/system_actor.py
+++ b/users/models/system_actor.py
@@ -43,6 +43,9 @@ class SystemActor:
"id": self.actor_uri,
"type": "Application",
"inbox": self.actor_uri + "inbox/",
+ "endpoints": {
+ "sharedInbox": f"https://{settings.MAIN_DOMAIN}/inbox/",
+ },
"preferredUsername": self.username,
"url": self.profile_uri,
"as:manuallyApprovesFollowers": True,