From 83e02464afcd3eedee9dfdaee8b5281c3e1d06cb Mon Sep 17 00:00:00 2001 From: jhwgh1968 Date: Sun, 8 Jan 2023 03:29:52 +0000 Subject: [PATCH] Add notification type "follow request" --- entities/src/notification.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entities/src/notification.rs b/entities/src/notification.rs index 090c4f5..cd930fc 100644 --- a/entities/src/notification.rs +++ b/entities/src/notification.rs @@ -34,6 +34,9 @@ pub enum NotificationType { Favourite, /// Someone followed the application client. Follow, + /// Someone asked to followed the application client when follow requests must be approved. + #[serde(rename = "follow_request")] + FollowRequest, /// A poll the application client previously voted in has ended. Poll, }