code: function(userId, appId) {
          if(!appId){
              return userId + '-' + config.creds.appId + '@' + config.endpoints.chat;
          }
          return userId + '-' + appId + '@' + config.endpoints.chat;
      }
docs: 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.