#3900 Skip checking AFK status during startup states

master
Andrey Lihatskiy 2025-04-13 01:43:36 +03:00
parent 1dacabe780
commit 1f17536cc8
1 changed files with 6 additions and 0 deletions

View File

@ -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<S32> afk_timeout(gSavedSettings, "AFKTimeout", 300);