diff options
author | lain <lain@soykaf.club> | 2020-11-18 18:33:48 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-11-18 18:33:48 +0000 |
commit | aae669d05ec737f7e895ed0d19f7b0eacf6cd005 (patch) | |
tree | 3d1a244162e92a99c1e28f5e2a4829de1eaadeec /lib/pleroma/web/api_spec | |
parent | 6b32e1de234a84d0bdbbee5eeb5b2a543f24ce6b (diff) | |
parent | 1b63aa0b4f969a404cc354ae45852b551fed61b1 (diff) | |
download | pleroma-aae669d05ec737f7e895ed0d19f7b0eacf6cd005.tar.gz |
Merge branch 'fix/webpush-and-emojireact' into 'develop'
Push notifications: add pleroma:emoji_reaction, improve tests
Closes #2185
See merge request pleroma/pleroma!3141
Diffstat (limited to 'lib/pleroma/web/api_spec')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/subscription_operation.ex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/operations/subscription_operation.ex b/lib/pleroma/web/api_spec/operations/subscription_operation.ex index 775dd795d..67c7ea8f3 100644 --- a/lib/pleroma/web/api_spec/operations/subscription_operation.ex +++ b/lib/pleroma/web/api_spec/operations/subscription_operation.ex @@ -146,6 +146,11 @@ defmodule Pleroma.Web.ApiSpec.SubscriptionOperation do allOf: [BooleanLike], nullable: true, description: "Receive chat notifications?" + }, + "pleroma:emoji_reaction": %Schema{ + allOf: [BooleanLike], + nullable: true, + description: "Receive emoji reaction notifications?" } } } @@ -210,6 +215,16 @@ defmodule Pleroma.Web.ApiSpec.SubscriptionOperation do allOf: [BooleanLike], nullable: true, description: "Receive poll notifications?" + }, + "pleroma:chat_mention": %Schema{ + allOf: [BooleanLike], + nullable: true, + description: "Receive chat notifications?" + }, + "pleroma:emoji_reaction": %Schema{ + allOf: [BooleanLike], + nullable: true, + description: "Receive emoji reaction notifications?" } } } |