You can't get the current user data without their uid. If you have access to the express req object you can grab it with req.uid or if it is a socket call then its socket.uid. The value of uid is 0 if the user is not logged in.
@Nicolas Sorry about the delay
Consider listening to this socket call, which is sent to all connected clients, it seems.
socket.on('event:user_status_change', function() {
console.log(arguments);
});
@a_5mith said in Recommand: Attracting developers and end users to nodeBB:
are we explaining what each individual hook is for,
It would be nice if each individual hook was more explained. A lot of try and fail now + google
@julian,
it 's the same thing
Internal error.
Oops! Looks like something went wrong!
/auth/github/callback
Cannot read property '0' of undefined
is there a way to clear github related information from a user in the nodebb database ?