fix: Correct onboarding flow logic to prevent skipping questions

This commit is contained in:
google-labs-jules[bot]
2025-12-23 19:33:41 +00:00
parent 606b9c01de
commit fc8b44f144
2 changed files with 1 additions and 24 deletions

View File

@@ -29,14 +29,3 @@ def register_user(user_data: dict) -> bool:
except Exception as e:
logging.error(f"[MockDB] Register error: {e}")
return False
def deregister_user(chat_id: int) -> bool:
"""Mock deregister: removes user from in-memory set."""
try:
_REGISTERED_USERS.discard(int(chat_id))
logging.info(f"[MockDB] User {chat_id} deregistered from memory.")
return True
except Exception as e:
logging.error(f"[MockDB] Deregister error: {e}")
return False