if(participant->room == NULL) {
janus_refcount_decrease(&participant->ref);
if(!strcasecmp(request_text, "join") || !strcasecmp(request_text, "joinandconfigure")) {
JANUS_LOG(LOG_ERR, "Not in a room (create a new handle)\n");
error_code = JANUS_VIDEOROOM_ERROR_ALREADY_JOINED;
g_snprintf(error_cause, 512, "Not in a room (create a new handle)");
} else {
Or at least error code name has different meaning comparing to error text…