From 1f17536cc8b0922ade8c68046ee1665ccec817d9 Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Sun, 13 Apr 2025 01:43:36 +0300 Subject: #3900 Skip checking AFK status during startup states --- indra/newview/llappviewer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra') diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index be22813f6b..319c029df5 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -447,6 +447,12 @@ static bool app_metrics_qa_mode = false; void idle_afk_check() { + // Don't check AFK status during startup states + if (LLStartUp::getStartupState() < STATE_STARTED) + { + return; + } + // check idle timers F32 current_idle = gAwayTriggerTimer.getElapsedTimeF32(); LLCachedControl afk_timeout(gSavedSettings, "AFKTimeout", 300); -- cgit v1.2.3