src/modules/chat/qbChat.js
function(userId, appId) {
        if(!appId){
            return userId + '-' + config.creds.appId + '@' + config.endpoints.chat;
        }
        return userId + '-' + appId + '@' + config.endpoints.chat;
    }
function(userId, appId) {
        if(!appId){
            return userId + '-' + config.creds.appId + '@' + config.endpoints.chat;
        }
        return userId + '-' + appId + '@' + config.endpoints.chat;
    }
function ( userId , appId ) { if ( ! appId ) { return userId + '-' + config . creds . appId + '@' + config . endpoints . chat ; } return userId + '-' + appId + '@' + config . endpoints . chat ; }
Get the User jid id.
@memberof QB.chat.helpers
@param {Number} UserId - The user id.
@param {Number} appId - The application id.
@returns {String} jid - The user jid.
Get the User jid id .