I’m building a freelance platform. What is the best approach to setting a user offline or offline. I’ve tried states but it doesn’t work when you reload the page as the state is set by default to online. I want users to be able to set their status to invisible and remember that status.
I can do that with database value yes/no, but not sure what the best approach is.