[Svn] [Fwd: Re: r2339]

A.L.E.C alec at alec.pl
Tue Mar 10 16:37:10 CET 2009


Thomas Bruederli wrote:

> It's been a while since I worked with Roundcube, so I've been playing
> catchup on all the new code.  I didn't come across the action matching
> initially and it's true that it was probably finding the include without
> the change.
> 
> The actual problem was using "RECENT" for the test, and then "UNSEEN"
> for the actual count.  There are cases under Dovecot IMAP when these two
> will be different, and Roundcube was not updating the message count on a
> check-recent action.  Making that change fixed Dovecot compatibility.


It's not compatibility problem but performance. Checking for UNSEEN 
count was done only when mailbox has new messages and I think it was not 
bad. Currently counting of UNSEEN messages is done on every check_recent 
call.

-- 
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list