From 99b2d250eeab89282b2407fa012e97f98ce8c4a6 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 3 Aug 2019 16:32:07 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/Bot.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 573c70b84..814beaecb 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -1211,6 +1211,10 @@ 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 + await Task.Delay(1000).ConfigureAwait(false); + EResult result = await ArchiHandler.SendMessage(steamID, messagePart).ConfigureAwait(false); switch (result) {