django-webpush
django-webpush copied to clipboard
Duplicate notifications
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?