From 32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Mar 2021 16:54:52 +0100 Subject: Add new plugin/peertube version notifs --- server/controllers/api/users/my-notifications.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/controllers/api/users') diff --git a/server/controllers/api/users/my-notifications.ts b/server/controllers/api/users/my-notifications.ts index 5f5e4c5e6..0a9101a46 100644 --- a/server/controllers/api/users/my-notifications.ts +++ b/server/controllers/api/users/my-notifications.ts @@ -80,7 +80,9 @@ async function updateNotificationSettings (req: express.Request, res: express.Re newInstanceFollower: body.newInstanceFollower, autoInstanceFollowing: body.autoInstanceFollowing, abuseNewMessage: body.abuseNewMessage, - abuseStateChange: body.abuseStateChange + abuseStateChange: body.abuseStateChange, + newPeerTubeVersion: body.newPeerTubeVersion, + newPluginVersion: body.newPluginVersion } await UserNotificationSettingModel.update(values, query) -- cgit v1.2.3