mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add a recursive mail folder scan option to ScanMailboxTask
This commit is contained in:
@ -115,6 +115,7 @@ object ScanMailboxRoutes {
|
||||
ScanMailboxArgs(
|
||||
user,
|
||||
settings.imapConnection,
|
||||
settings.scanRecursively,
|
||||
settings.folders,
|
||||
settings.receivedSinceHours.map(_.toLong).map(Duration.hours),
|
||||
settings.targetFolder,
|
||||
@ -150,6 +151,7 @@ object ScanMailboxRoutes {
|
||||
task.summary,
|
||||
conn.getOrElse(Ident.unsafe("")),
|
||||
task.args.folders,
|
||||
task.args.scanRecursively,
|
||||
task.timer,
|
||||
task.args.receivedSince.map(_.hours.toInt),
|
||||
task.args.targetFolder,
|
||||
|
Reference in New Issue
Block a user