offer.accept(function(err) {
		if (err) {
			console.log("Unable to accept offer: " + err.message);
		} else {
			community.checkConfirmations(); // Check for confirmations right after accepting the offer
			console.log("Offer accepted");
		}
	});
Example #2
0
		community_login(function() {
			myLog.info("Starting comfirmation polling");
			community.startConfirmationChecker(10000, account_config.steam_guard.identity_secret);
			myLog.info("Checking confirmations");
			community.checkConfirmations();
		});
Example #3
0
	processOffer(offer, function(passed) {
		if(passed) {
			community.checkConfirmations();
		}
	});