When subscribing or unsubscribing from notifications, we should check to make sure on subscribe, the phone number doesn't already exist in the database - and for unsubscribe, the phone number already exists in the database.
Another potential solution would be to do this on the frontend, storing some user data in Gaia like subscribed.json if the user is subscribed.
When subscribing or unsubscribing from notifications, we should check to make sure on subscribe, the phone number doesn't already exist in the database - and for unsubscribe, the phone number already exists in the database.
Another potential solution would be to do this on the frontend, storing some user data in Gaia like
subscribed.json
if the user is subscribed.Open to suggestions.