swellrt icon indicating copy to clipboard operation
swellrt copied to clipboard

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

Open ngwaitat opened this issue 7 years ago • 2 comments

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.

ngwaitat avatar Feb 23 '18 06:02 ngwaitat

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 [email protected]:

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 .

pablojan avatar Mar 08 '18 12:03 pablojan

Cool, thank you!

ngwaitat avatar Mar 10 '18 09:03 ngwaitat