Add feature to scroll down in imap folder to load more mails, and speedup of imap folder change
This commit is contained in:
@@ -182,7 +182,7 @@ internal object AndroidMailService {
|
||||
result.put(value)
|
||||
cached.put(value)
|
||||
}
|
||||
AndroidAccountVault.cacheMessages(account.optString("id"), requestedFolder, cached)
|
||||
AndroidAccountVault.cacheMessages(account.optString("id"), requestedFolder, cached, replace = offset <= 0)
|
||||
JSONObject().put("messages", result).put("total", total)
|
||||
.put("start", first).put("end", end).put("folder", requestedFolder)
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user