Hi @stkuhn, thanks for your message.
Inactive: User has un-checked the “I want to receive notifications” option in the Bell.
Active: User who has recently subscribed or that decided to opt-in after opting-out.
an option to automatically delete unsubscribed users (not active) from the database?
This is clear and I’ve created a ticket here: https://github.com/rwngallego/perfecty-push-wp/issues/37
Basically we will remove users that have opted-out. (Users who initially allowed notifications in the browser, but then they un-checked the “I want to receive notifications” option in the Bell).
There’s no gain in having them in the DB, as usually they will not receive any push messages, and the subscription could expire in between opting out/in again.
Manual deletion of users in backend should only be an option for users, that did not unsubscribe but are not active any longer
Could you please clarify? Currently, if a user is still subscribed (opt-in) but if for any reason the endpoint has expired, they are deleted automatically so that next time the SDK will renew the subscription when the user visits the website.