mirror of
https://git.sr.ht/~rjarry/aerc
synced 2025-07-04 08:00:21 +02:00
![]() When moving an unread message from current directory C to directory D, the unseen count for C is properly decremented. However the one for D is not consistently handled: - If D is not folder-mapped, it's incremented, as expected. - If D is folder-mapped, it's unchanged, a clear bug. The problem is that the folderMapper.PostMessage is not intercepting and de-mapping three commands that manipulate directory names. This patch handles all them (I grepped for all PostMessage calls and I think I got all the missing ones). It also adds an error log to AccountView.updateDirCounts in case it processes a message that references an unknown directory, a likely folder mapping bug. Signed-off-by: Simon Martin <simon@nasilyan.com> Reviewed-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc> |
||
---|---|---|
.. | ||
foldermapper.go | ||
foldermapper_test.go | ||
gmailworker.go |