deepstreamIO / deepstream.io

deepstream.io server
https://deepstreamio.github.io
MIT License
7.14k stars 381 forks source link

'client.presence.subscribe' get other clients' uid #989

Closed crapthings closed 5 years ago

crapthings commented 5 years ago
client.getUid()
client.presence.subscribe((username, isLoggedIn) => {
  // handle new user
})

any possible to get other clients' uid? after client is connected and disconnected?

yasserf commented 5 years ago

I’m sorry I don’t understand the question. Client.getUid is just a UID generator, it doesn’t have anything to do with the client session or presence.