From 43d1147fd78948b3294e453ee79a5209d413a261 Mon Sep 17 00:00:00 2001 From: Alexander Corn Date: Thu, 3 Dec 2015 13:59:54 -0500 Subject: [PATCH] Add tradeConfirmation alias for emailConfirmation and marketConfirmation Resolves #24 --- components/profile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/profile.js b/components/profile.js index 87b8ad9..b89c941 100644 --- a/components/profile.js +++ b/components/profile.js @@ -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; } }