Add DismissInventoryNotifications, closes #132

This commit is contained in:
JustArchi
2016-03-06 14:15:59 +01:00
parent 709ce6489b
commit 52360a682a
3 changed files with 5 additions and 1 deletions

View File

@@ -1266,7 +1266,7 @@ namespace ArchiSteamFarm {
Trading.CheckTrades();
}
if (markInventory) {
if (markInventory && BotConfig.DismissInventoryNotifications) {
await ArchiWebHandler.MarkInventory().ConfigureAwait(false);
}
}

View File

@@ -59,6 +59,9 @@ namespace ArchiSteamFarm {
[JsonProperty(Required = Required.DisallowNull)]
internal bool CardDropsRestricted { get; private set; } = false;
[JsonProperty(Required = Required.DisallowNull)]
internal bool DismissInventoryNotifications { get; private set; } = true;
[JsonProperty(Required = Required.DisallowNull)]
internal bool FarmOffline { get; private set; } = false;

View File

@@ -8,6 +8,7 @@
"SteamMasterID": 0,
"SteamMasterClanID": 0,
"CardDropsRestricted": false,
"DismissInventoryNotifications": true,
"FarmOffline": false,
"HandleOfflineMessages": false,
"ForwardKeysToOtherBots": false,