Search code examples
parse-platformparse-server

Getting connected user's information in Parse Server LiveQuery


Is there any way to get live query's connected user's information in the parse server? I want to receive user details and do some operation when he gets connected/disconnected via LiveQuery on the server-side.

I have already looked into the onLiveQueryEvent in Parse Cloud Code but it only gives the subscribed and connected user's count - not the actual user object.


Solution

  • This has been added in Parse-Server 3.8.0

    https://github.com/parse-community/parse-server/pull/5927

    You can get the sessionToken of the user.