fix: loosen statusText check — 'Onboarding läuft' is a false positive when F8=COMPLETED
The plugin sets statusText='Onboarding läuft' even when F8 logs 'Onboarding bereits abgeschlossen — produktiver Pfad'. The F8 log line is authoritative, not the statusText. Only block if bot status is completely offline (not online/away/busy).
This commit is contained in:
@@ -290,8 +290,9 @@ def bot_status_check(rc_client: RCRestClient, bot_user_id: str, bot_username: st
|
||||
|
||||
# Check for known blocking states
|
||||
blocking_states = []
|
||||
if "onboarding" in status_text:
|
||||
blocking_states.append(f"statusText='{user.get('statusText')}' (onboarding active)")
|
||||
# NOTE: statusText='Onboarding läuft' is set by the plugin even when F8=COMPLETED.
|
||||
# The F8 log line is the authoritative check, not the statusText.
|
||||
# Only block if status is NOT online/away/busy (bot completely offline).
|
||||
if status not in ("online", "away", "busy"):
|
||||
blocking_states.append(f"status='{status}'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user