proton-mail-bridge-client 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/services/local-index-service.d.ts +4 -0
- package/dist/services/local-index-service.d.ts.map +1 -1
- package/dist/services/local-index-service.js +17 -4
- package/dist/services/local-index-service.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2862,7 +2862,7 @@ async function refreshIndexForSearch(bundle) {
|
|
|
2862
2862
|
}
|
|
2863
2863
|
}
|
|
2864
2864
|
async function maybeRefreshLocalIndex(imapService, localIndexService, input = {}) {
|
|
2865
|
-
const status = await localIndexService.
|
|
2865
|
+
const status = await localIndexService.getFreshness();
|
|
2866
2866
|
if (!input.force && status.storedMessageCount > 0 && !status.isStale) {
|
|
2867
2867
|
// Not stale by age, but age alone cannot see mail that arrived since the last sync
|
|
2868
2868
|
// (background sync/IDLE may be off, failing, or not covering this account). Compare the
|