django-webpush icon indicating copy to clipboard operation
django-webpush copied to clipboard

Duplicate notifications

Open jgardounis opened this issue 3 years ago • 0 comments

When a subscription is connected to more than one users (for example two users are using the same pc intermediately) , the notification shows for both.

This way when we have users A and B subscribed to the same browser, if I am logged as user A and there is a notification for user B, it pops up for user A as well.

How to fine tune the send_user_notification so that the notification shows only if the logged in user matches the recipient of the notification?

jgardounis avatar Jun 22 '21 13:06 jgardounis