diff options
author | lain <lain@soykaf.club> | 2020-06-29 08:39:51 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-29 08:39:51 +0000 |
commit | 577da132da692a205bd8f3b454db8f9cf235a610 (patch) | |
tree | 9443eae81726143e15ab3c3d20e2546f259cbd96 /lib/pleroma/web/api_spec | |
parent | e229640372b7b00c71ea8c7f523d018b01d270f3 (diff) | |
parent | 4c5fb831b3b59309a475a141eb73cc440533d0ff (diff) | |
download | pleroma-577da132da692a205bd8f3b454db8f9cf235a610.tar.gz |
Merge branch '1031-parent-visible' into 'develop'
Resolve "Add `pleroma.parent_visible` to the status view"
Closes #1031
See merge request pleroma/pleroma!2679
Diffstat (limited to 'lib/pleroma/web/api_spec')
-rw-r--r-- | lib/pleroma/web/api_spec/schemas/status.ex | 4 |
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" } } }, |