mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Misc
This commit is contained in:
parent
b34039e10c
commit
06607fc0a3
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue