Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Presence state #162

Closed
alexey13 opened this issue Apr 27, 2019 · 4 comments
Closed

Presence state #162

alexey13 opened this issue Apr 27, 2019 · 4 comments

Comments

@alexey13
Copy link

alexey13 commented Apr 27, 2019

Good day, guys! Is it possible to get presence state of the user that we do not share a room? By client js sdk or server side php sdk? I saw that one and tried to subscribe from client but its not working https://pusher.com/docs/chatkit/reference/presence need to use it from server sdk? Use case - show status of a user(s) before we create a room

@alexey13
Copy link
Author

alexey13 commented Jul 27, 2019

Hi! Any ideas on this one? I made a request from client js sdk with 200 response, but no messages in ws or response. How its working https://pusher.com/docs/chatkit/reference/presence?

@syrsly
Copy link

syrsly commented Aug 21, 2019

Have the users join a room together and have separate rooms as well. You can then have them check the shared channel for other users' states. Alternatively, you can code a connect/disconnect private channel if you have a ton of users and just use that to update the connection status of users but not the disconnect and then expire their connections after a while.

@minaorangina
Copy link
Contributor

Hi, this isn't something we support right now, I'm adding it as a feature request

@minaorangina
Copy link
Contributor

Duplicate of #208, will close this one

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants