aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2024-04-22 19:30:29 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2024-04-22 19:30:29 +0000
commit15dde2d372419fd90c19de7a6f7b9b2458511adc (patch)
tree6d87d6d0782ad4effb8747d5b4f2baf00dd48e76
parent2cbfcb6a6deac223d110b4190b0415cd837f7299 (diff)
parentd5575f9c132d49eed79768dd5d53db763e42f86c (diff)
Merge branch 'fix-poll-notifs' into 'develop'
Add poll end notifications to fetched types Closes pleroma#3230 See merge request pleroma/pleroma-fe!1905
-rw-r--r--changelog.d/poll-ended-notifications.fix1
-rw-r--r--src/services/notifications_fetcher/notifications_fetcher.service.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/poll-ended-notifications.fix b/changelog.d/poll-ended-notifications.fix
new file mode 100644
index 00000000..d04b8cb0
--- /dev/null
+++ b/changelog.d/poll-ended-notifications.fix
@@ -0,0 +1 @@
+Add poll end notifications to fetched types.
diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js
index c91a86c8..5bcda826 100644
--- a/src/services/notifications_fetcher/notifications_fetcher.service.js
+++ b/src/services/notifications_fetcher/notifications_fetcher.service.js
@@ -9,6 +9,7 @@ const mastoApiNotificationTypes = [
'reblog',
'follow',
'move',
+ 'poll',
'pleroma:emoji_reaction',
'pleroma:report'
]