Fix ASF not finding correct SteamFamilySharingIDs

The relevant fix lies in xpath, the rest is misc refactor
This commit is contained in:
JustArchi
2019-11-04 20:28:48 +01:00
parent 068575659d
commit af9721dc40
2 changed files with 11 additions and 6 deletions

View File

@@ -1754,11 +1754,11 @@ namespace ArchiSteamFarm {
private async Task InitializeFamilySharing() {
HashSet<ulong> steamIDs = await ArchiWebHandler.GetFamilySharingSteamIDs().ConfigureAwait(false);
if ((steamIDs == null) || (steamIDs.Count == 0)) {
if (steamIDs == null) {
return;
}
SteamFamilySharingIDs.ReplaceIfNeededWith(steamIDs);
SteamFamilySharingIDs.ReplaceWith(steamIDs);
}
private async Task<bool> InitLoginAndPassword(bool requiresPassword) {