SwellRT / swellrt

SwellRT main project. Server, JavaScript and Java clients
http://swellrt.org/
Apache License 2.0
234 stars 34 forks source link

How to know user of a particular id exists or not? #232

Open ngwaitat opened 6 years ago

ngwaitat commented 6 years ago

I found the service.getUser(userId) method always return something no matter the user exists or not, and the returned profile shows anonymous in id and name. The user id I passed is the same one I called service.createUser(). Thanks.

pablojan commented 6 years ago

Thanks for pointing it out. And sorry for delayed answer. To be fixed in the next release.

2018-02-23 7:29 GMT+01:00 ngwaitat notifications@github.com:

I found the service.getUser(userId) method always return something no matter the user exists or not, and the returned profile shows anonymous in id and name. The user id I passed is the same one I called service.createUser(). Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/P2Pvalue/swellrt/issues/232, or mute the thread https://github.com/notifications/unsubscribe-auth/AEP6Dy1-e3zEwmyN2M__gw_Vngiyxub7ks5tXlrUgaJpZM4SQcWx .

ngwaitat commented 6 years ago

Cool, thank you!