projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1702239
)
Status schema: Add parent_visible.
author
lain
<lain@soykaf.club>
Wed, 24 Jun 2020 12:33:00 +0000
(14:33 +0200)
committer
lain
<lain@soykaf.club>
Wed, 24 Jun 2020 12:33:00 +0000
(14:33 +0200)
lib/pleroma/web/api_spec/schemas/status.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/api_spec/schemas/status.ex
b/lib/pleroma/web/api_spec/schemas/status.ex
index 8b87cb25b24d22291cf4e17bc6fce36243b6feb1..28cde963e61ca9d51a9fadc007b50b4434c69303 100644
(file)
--- 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"
}
}
},