Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/IMAP
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-27 09:25:23 +0300
committerGitHub <noreply@github.com>2020-04-27 09:25:23 +0300
commit5fde9dfd5bcaf7a58b6cd46ab6d29517a39c8011 (patch)
tree06016e73fdb62bc8ced072ac774cb16b6b5a4557 /lib/IMAP
parentc8f2c71a5b8fb795808ce72b4350385aea2117ad (diff)
parent8eedddf2da195c03374d83c44157daf8e2141317 (diff)
Merge pull request #2980 from nextcloud/enhancement/incomplete-sync-progress
Log the progress of an incomplete sync
Diffstat (limited to 'lib/IMAP')
-rw-r--r--lib/IMAP/MessageMapper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/IMAP/MessageMapper.php b/lib/IMAP/MessageMapper.php
index 7df82e9b9..8389e3b52 100644
--- a/lib/IMAP/MessageMapper.php
+++ b/lib/IMAP/MessageMapper.php
@@ -116,6 +116,7 @@ class MessageMapper {
return [
'messages' => [],
'all' => true,
+ 'total' => $total,
];
}
@@ -169,6 +170,7 @@ class MessageMapper {
$uidsToFetch
),
'all' => $upper === $max,
+ 'total' => $total,
];
}