diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index f50675fc4c..b7c45f886b 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -74,6 +74,7 @@ def unread_notifications_count(%User{id: user_id}) do reblog poll status + update pleroma:participation_accepted pleroma:participation_request pleroma:event_reminder diff --git a/lib/pleroma/web/api_spec/operations/notification_operation.ex b/lib/pleroma/web/api_spec/operations/notification_operation.ex index a6aa3b7f2d..993ea08a90 100644 --- a/lib/pleroma/web/api_spec/operations/notification_operation.ex +++ b/lib/pleroma/web/api_spec/operations/notification_operation.ex @@ -208,6 +208,7 @@ defp notification_type do "follow_request", "poll", "status", + "update", "pleroma:participation_accepted", "pleroma:participation_request", "pleroma:event_reminder", @@ -227,6 +228,7 @@ defp notification_type do - `pleroma:chat_mention` - Someone mentioned you in a chat message - `pleroma:report` - Someone was reported - `status` - Someone you are subscribed to created a status + - `update` - A status you interacted with was updated - `pleroma:event_reminder` – An event you are participating in or created is taking place soon - `pleroma:event_update` – An event you are participating in was edited - `pleroma:participation_request - Someone wants to participate in your event