[Fix]: Fix largestUid stats tracking

This commit is contained in:
ClaraCrazy 2026-01-04 23:32:26 +01:00
parent 727fd56730
commit 847092e866
No known key found for this signature in database
GPG key ID: EBBC896ACB497011

View file

@ -169,6 +169,8 @@ class MailProcessingService extends EventEmitter {
// Track email received
if (this.statisticsStore) {
this.statisticsStore.recordReceive()
// Update all-time total with new UID
this.statisticsStore.updateLargestUid(mail.uid)
}
}