A.L.E.C wrote:
I don't like this changeset at all. This doesn't fix the issue. We're still checking RECENT for other folders. I also don't like switching to INBOX. I use server-side filters and got new mail in other folders, not only in INBOX. When I have other folder opened I don't like to change it. We must find better solution. Please, revert this change.
Proposed solution. For current folder store (in session) max. UID found in this folder. Then in check_recent instead of checking RECENT flag we could call FETCH UID LAST_MAX_UID:* ...
Continue discussion here: http://trac.roundcube.net/ticket/1485794