mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Update Bot.cs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user