Add tradeConfirmation alias for emailConfirmation and marketConfirmation

Resolves #24
This commit is contained in:
Alexander Corn 2015-12-03 13:59:54 -05:00
parent 479cc47bf5
commit 43d1147fd7

View File

@ -191,9 +191,14 @@ SteamCommunity.prototype.profileSettings = function(settings, callback) {
values.inventoryGiftPrivacy = settings[i] ? 1 : 0;
break;
case 'emailConfirmation':
case 'emailConfirmation': // deprecated
case 'tradeConfirmation':
values.tradeConfirmationSetting = settings[i] ? 1 : 0;
break;
case 'marketConfirmation':
values.marketConfirmationSetting = settings[i] ? 1 : 0;
break;
}
}