feat(api,userbot,frontend): fetch only new messages in backfill by default

This commit is contained in:
hh
2026-08-06 12:30:37 +02:00
parent 6b6edc9a0d
commit ee63f8b783
9 changed files with 76 additions and 25 deletions
+3 -2
View File
@@ -358,11 +358,12 @@ export function listJobs(status?: JobStatus): Promise<JobView[]> {
export function enqueueBackfill(
chatId: number,
media: boolean
media: boolean,
full = false
): Promise<{ job_id: number }> {
return request<{ job_id: number }>("/backfill", {
method: "POST",
body: { account_id: accounts.selectedId, chat_id: chatId, media },
body: { account_id: accounts.selectedId, chat_id: chatId, media, full },
});
}