Skip to content

Duplicate(ish) push notifications for subscribed user and territory #1819

Open
@SatsAllDay

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.:

  1. User posted foo
  2. 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

  1. Enable push notifications
  2. Subscribe to a user
  3. subscribe to a territory
  4. wait for the user to post in the territory
  5. see 2 notifications

Expected behavior

Only 1 push notification should come through

Logs

No response

Device information

iOS PWA

Additional context

No response

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions