You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was this always a problem or am I missing something?
To reproduce:
make sure user A is a responder for user B
log in as user A and turn off the Naloxone availability switch
make a help request for user B
result: user A gets a help request notification
expected result: A should not get a notification because he doesn't have Naloxone
In help_request.js:71, we're adding all of the user's responders to the help request. But we should filter out the responders who aren't available, right?
Same in notification.service.js:11. We only want the push tokens of responders who are available. Isn't this what the userResponders field in the help_request is for?
The text was updated successfully, but these errors were encountered:
Was this always a problem or am I missing something?
To reproduce:
In help_request.js:71, we're adding all of the user's responders to the help request. But we should filter out the responders who aren't available, right?
Same in notification.service.js:11. We only want the push tokens of responders who are available. Isn't this what the userResponders field in the help_request is for?
The text was updated successfully, but these errors were encountered: