mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -2362,13 +2362,13 @@ namespace ArchiSteamFarm {
|
||||
break;
|
||||
}
|
||||
|
||||
await BotDatabase.RemoveGameToRedeemInBackground(key).ConfigureAwait(false);
|
||||
|
||||
// If user omitted the name or intentionally provided the same name as key, replace it with the Steam result
|
||||
if (name.Equals(key) && (result.Items != null) && (result.Items.Count > 0)) {
|
||||
name = string.Join(", ", result.Items.Values);
|
||||
}
|
||||
|
||||
await BotDatabase.RemoveGameToRedeemInBackground(key).ConfigureAwait(false);
|
||||
|
||||
string logEntry = name + DefaultBackgroundKeysRedeemerSeparator + "[" + result.PurchaseResultDetail + "]" + ((result.Items != null) && (result.Items.Count > 0) ? DefaultBackgroundKeysRedeemerSeparator + string.Join(", ", result.Items) : "") + DefaultBackgroundKeysRedeemerSeparator + key;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user