~sircmpwn/aerc

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] maildir: Don't add recents to unread and msg count

Details
Message ID
<20200913111219.31376-1-galen@galenabell.com>
DKIM signature
pass
Download raw message
Patch: +1 -2
---
 worker/maildir/worker.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go
index cf08e70..e8c5ca5 100644
--- a/worker/maildir/worker.go
+++ b/worker/maildir/worker.go
@@ -162,8 +162,7 @@ func (w *Worker) getDirectoryInfo(name string) *models.DirectoryInfo {
			dirInfo.Recent++
		}
	}
	dirInfo.Unseen += dirInfo.Recent
	dirInfo.Exists = len(uids) + dirInfo.Recent
	dirInfo.Exists = len(uids)
	return dirInfo
}

-- 
2.28.0
Review patch Export thread (mbox)