Add another superpower: fetching 2FA deviceID automatically

This commit is contained in:
JustArchi
2020-07-05 00:45:13 +02:00
parent 0ce04415ea
commit 4ead85965a
9 changed files with 81 additions and 140 deletions

View File

@@ -101,6 +101,12 @@ namespace ArchiSteamFarm {
[JsonConstructor]
private BotDatabase() { }
public override void Dispose() {
BackingMobileAuthenticator?.Dispose();
base.Dispose();
}
internal void AddBlacklistedFromTradesSteamIDs(IReadOnlyCollection<ulong> steamIDs) {
if ((steamIDs == null) || (steamIDs.Count == 0)) {
ASF.ArchiLogger.LogNullError(nameof(steamIDs));