diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 832d756ab..a6526e3bf 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -1286,8 +1286,8 @@ namespace ArchiSteamFarm { bool sent = false; for (byte j = 0; (j < WebBrowser.MaxTries) && !sent && IsConnectedAndLoggedOn; j++) { - // TODO: Determine if this dirty workaround fixes "ghost notification" bug - // Theory: Perhaps Steam is confused when dealing with more than 1 message per second from the same user, check if this helps + // We add a one-second delay here to avoid Steam screwup in form of a ghost notification + // The exact cause is unknown, but the theory is that Steam is confused when dealing with more than 1 message per second from the same user await Task.Delay(1000).ConfigureAwait(false); EResult result = await ArchiHandler.SendMessage(steamID, messagePart).ConfigureAwait(false);