Sebastian Spaeth 3476e9ab36 Fix fallout when filtering folders
Previous commit e7ca5b25cba0679aa800b490d063b24c40864839 combined
checks for filtered folders in one place. However, it turns out there
was a reason to have them separate. getfolder() on a non-existent Maildir
fails and there might not be an equivalent local Maildir folder for a
filtered out IMAP folder.

Fix this by first checking if the remote folder should be filtered, and
only then retrieving the local folder (which should exist then).

This bug was found by our test suite!

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-09-01 03:15:08 +02:00
..
2012-06-02 13:41:20 +02:00
2012-09-01 03:15:08 +02:00
2012-02-06 17:41:43 +01:00
2006-08-12 05:15:55 +01:00
2012-02-06 17:41:43 +01:00