Added ability to change friends list privacy

This commit is contained in:
Alex Corn 2018-11-01 01:20:19 -04:00
parent ebac6c97ad
commit 62394b9ffe

View File

@ -203,6 +203,10 @@ SteamCommunity.prototype.profileSettings = function(settings, callback) {
case 'playtime':
privacy.PrivacyPlaytime = settings[i] ? SteamCommunity.PrivacyState.Private : SteamCommunity.PrivacyState.Public;
break;
case 'friendsList':
privacy.PrivacyFriendsList = settings[i];
break;
}
}