summaryrefslogtreecommitdiffstats
path: root/activities/views/posts.py
diff options
context:
space:
mode:
Diffstat (limited to 'activities/views/posts.py')
-rw-r--r--activities/views/posts.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/activities/views/posts.py b/activities/views/posts.py
index 268a3fe..8cd91a1 100644
--- a/activities/views/posts.py
+++ b/activities/views/posts.py
@@ -202,6 +202,9 @@ class Compose(FormView):
def get_initial(self):
initial = super().get_initial()
+ initial[
+ "visibility"
+ ] = self.request.identity.config_identity.default_post_visibility
if self.reply_to:
initial["reply_to"] = self.reply_to.pk
initial["visibility"] = Post.Visibilities.unlisted