feat: download 30 days of data on initial login

This commit is contained in:
Alex
2026-06-25 01:13:47 +03:00
parent 3b515433b2
commit 8e1c1e2b51
+3 -1
View File
@@ -1472,7 +1472,9 @@ async def run_initial_sync_after_login(update: Update, context: ContextTypes.DEF
return return
async with SYNC_LOCK: async with SYNC_LOCK:
result = await run_sync(get_current_user_id(), SETTINGS) import dataclasses
initial_settings = dataclasses.replace(SETTINGS, query_duration=30)
result = await run_sync(get_current_user_id(), initial_settings)
if result.success: if result.success:
await show_main_menu(update, context) await show_main_menu(update, context)