aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-24 14:33:00 +0200
committerlain <lain@soykaf.club>2020-06-24 14:33:00 +0200
commit4c5fb831b3b59309a475a141eb73cc440533d0ff (patch)
tree09e10b3f06fe6eea970ccfe682652ba6857418f0
parent1702239428ea7e3b49fcf8985f1d2fbbadb020b5 (diff)
downloadpleroma-4c5fb831b3b59309a475a141eb73cc440533d0ff.tar.gz
Status schema: Add parent_visible.
-rw-r--r--lib/pleroma/web/api_spec/schemas/status.ex4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/schemas/status.ex b/lib/pleroma/web/api_spec/schemas/status.ex
index 8b87cb25b..28cde963e 100644
--- a/lib/pleroma/web/api_spec/schemas/status.ex
+++ b/lib/pleroma/web/api_spec/schemas/status.ex
@@ -184,6 +184,10 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
thread_muted: %Schema{
type: :boolean,
description: "`true` if the thread the post belongs to is muted"
+ },
+ parent_visible: %Schema{
+ type: :boolean,
+ description: "`true` if the parent post is visible to the user"
}
}
},