I want remove user from my group once he is offline or logged out, so I have a reapting group acts as a room, upon clicking user joins the room. But sometimes people join the room and forget to leave it and directly close the tab.
In this scenario, how do I auto remove the user from that group (room)
A suggestion for this, which I’m not sure if it’s the best would be to create a check using the “Last Modified” type in a data type to check if it’s been modified in X minutes.
This is a great option but the user can be online, doing changes on other fields than the ones in his data type right?
@johnny If it’s the case, maybe you can add a field “last action date” time that you update every time the user does something in your app, and then associate some triggers.
You can also use plugins that detect inactivity, like this one: