Rejoin on a different device
I want to be able to reconnect into a room from a different device if my first device is disconnected (run out of battery on my phone, so want to reconnect on my computer), I assume that the 2 devices will connect using the same account and then have the same userID and playerTTL is high.
From what i understood of rejoin, it can be done easily inside the same running instance of the game using reconnectAndRejoin, but RejoinRoom need the name of the room, that can be save on my first device, but that is not available on my second device.
There is a findFriend feature, but this does not allow me to get the room of the current player, only other players. As the masterServer has the list of room available and the userIDs save as inactive player, I expect to get this information from server side and not doing any computation on client side to get it, but maybe I'm wrong.
Is there any way to achieve this with a simple query to server side (similar to findFriend but for current player). Else, is there anything that can be done in client side to get it ? (I want to avoid publishing the userID of room, and let client loop over all rooms to find its own.)
Hope I am clear enough for you to help me on that ;)
Edit1: Did not mention I'm running an on-premise plugin server, so I wonder if there is anything that can be setup on server side in order to get this information, if not possible from client.