Why user disconnet but still show online when Get user Account

i use unity client sdk connect to server。
i get a account when he is offline .but i still get online
i invite a friend and he is accept invite。then i list friend,but i still get offline,but he is online
please help me thx all

Please have a look at: socket.onDisconnect not working correctly on desktop devices

1 Like

Thank you very much

Is there setHeartbeatTimeoutMs in dotnet namaka client? I didn’t find this option? Is this a client setting? Isn’t it set on the server? I would like it to be that the server receives this callback when the client loses connection. Then update the user’s online status.

That setting is for the JS client as mentioned in the thread, the relevant server settings are these: Heroic Labs Documentation | Configuration.