Duplicate(ish) push notifications for subscribed user and territory #1819
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When stacker to whom you are subscribed posts in a territory to which you’re subscribed, you receive a push notification for each, e.g.:
- User posted foo
- user posted foo in bar territory
These are deduped in the notifications page. They should also be deduped in push notifications.
Screenshots
I forgot to take one before clearing the notifications.
Steps To Reproduce
- Enable push notifications
- Subscribe to a user
- subscribe to a territory
- wait for the user to post in the territory
- see 2 notifications
Expected behavior
Only 1 push notification should come through
Logs
No response
Device information
iOS PWA
Additional context
No response