aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-11-17 19:15:11 +0000
committerMark Felder <feld@FreeBSD.org>2020-11-17 20:20:00 +0000
commit67a6abd071fd4e9f62c032fe952b65b957140bc5 (patch)
treed45e0b5535b6b0826569f17f6144298be6d5623d /lib
parent80e21903d4abd3cd87694c3faaeff3a6afd2c8dc (diff)
downloadpleroma-67a6abd071fd4e9f62c032fe952b65b957140bc5.tar.gz
Update OpenAPI spec/schema and test to verify support for pleroma:emoji_reaction subscriptions
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/api_spec/operations/subscription_operation.ex5
1 files changed, 5 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..77e70005b 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?"
}
}
}