From 6bd24ab1eec94b03b09223ff62ca22caf1e5afbd Mon Sep 17 00:00:00 2001 From: noellabo Date: Wed, 20 Apr 2022 16:08:00 +0900 Subject: [PATCH] Fix missing status to push notification --- app/javascript/mastodon/reducers/push_notifications.js | 1 + app/javascript/mastodon/service_worker/web_push_locales.js | 1 + 2 files changed, 2 insertions(+) diff --git a/app/javascript/mastodon/reducers/push_notifications.js b/app/javascript/mastodon/reducers/push_notifications.js index c48cfb705..5ff6660e8 100644 --- a/app/javascript/mastodon/reducers/push_notifications.js +++ b/app/javascript/mastodon/reducers/push_notifications.js @@ -11,6 +11,7 @@ const initialState = Immutable.Map({ reblog: false, mention: false, poll: false, + status: false, }), isSubscribed: false, browserSupport: false, diff --git a/app/javascript/mastodon/service_worker/web_push_locales.js b/app/javascript/mastodon/service_worker/web_push_locales.js index 1265f3cfa..fd96aabfb 100644 --- a/app/javascript/mastodon/service_worker/web_push_locales.js +++ b/app/javascript/mastodon/service_worker/web_push_locales.js @@ -19,6 +19,7 @@ filenames.forEach(filename => { 'notification.follow_request': full['notification.follow_request'] || '', 'notification.mention': full['notification.mention'] || '', 'notification.reblog': full['notification.reblog'] || '', + 'notification.status': full['notification.status'] || '', 'notification.poll': full['notification.poll'] || '', 'status.show_more': full['status.show_more'] || '',