aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2024-04-28 17:29:07 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2024-04-28 17:29:07 +0000
commit36f2fef55ab370cc51f1ff81b419f28e2f50409b (patch)
treeb65bbc7475f74bdd690e2fa333dff6de27846884
parent15dde2d372419fd90c19de7a6f7b9b2458511adc (diff)
parentc40b02ac2f7c658fecb21db8ef3a15a6e498c4be (diff)
Merge branch 'notif_types' into 'develop'
Add more notification types See merge request pleroma/pleroma-fe!1912
-rw-r--r--changelog.d/notif-types.fix1
-rw-r--r--src/services/notifications_fetcher/notifications_fetcher.service.js2
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/notif-types.fix b/changelog.d/notif-types.fix
new file mode 100644
index 00000000..fb0e5046
--- /dev/null
+++ b/changelog.d/notif-types.fix
@@ -0,0 +1 @@
+Synchronized requested notification types with backend, hopefully should fix missing notifications for polls and follow requests
diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js
index 5bcda826..6403693c 100644
--- a/src/services/notifications_fetcher/notifications_fetcher.service.js
+++ b/src/services/notifications_fetcher/notifications_fetcher.service.js
@@ -8,9 +8,11 @@ const mastoApiNotificationTypes = [
'favourite',
'reblog',
'follow',
+ 'follow_request',
'move',
'poll',
'pleroma:emoji_reaction',
+ 'pleroma:chat_mention',
'pleroma:report'
]