Update OpenAPI spec/schema and test to verify support for pleroma:emoji_reaction...
[akkoma] / lib / pleroma / web / api_spec / operations / subscription_operation.ex
index c575a87e622e78fc0125956d0abbba29cbc22d15..77e70005b6f53a35b02affa437fbc481cbd58603 100644 (file)
@@ -141,6 +141,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?"
                 }
               }
             }