diff options
Diffstat (limited to 'activities/views')
-rw-r--r-- | activities/views/posts.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/activities/views/posts.py b/activities/views/posts.py index e394c4e..9935205 100644 --- a/activities/views/posts.py +++ b/activities/views/posts.py @@ -253,7 +253,10 @@ class Compose(FormView): ] = self.request.identity.config_identity.default_post_visibility if self.reply_to: initial["reply_to"] = self.reply_to.pk - initial["visibility"] = self.reply_to.visibility + if self.reply_to.visibility == Post.Visibilities.public: + initial["visibility"] = Post.Visibilities.unlisted + else: + initial["visibility"] = self.reply_to.visibility initial["text"] = f"@{self.reply_to.author.handle} " return initial |