really stupid mistake in FileBasedMailbox.seen()
[org.ibex.mail.git] / src / org / ibex / mail / target / FileBasedMailbox.java
index daac252..b2e7e85 100644 (file)
@@ -129,7 +129,7 @@ public class FileBasedMailbox extends Mailbox.Default {
                 String base = cache.dir.getParent() + slash + name;
                 File target = new File(base);
                 if (!target.exists()) target = new File(base + "s");
-                target.setLastModified(seen ? System.currentTimeMillis() : MAGIC_DATE);
+                target.setLastModified(seen ? MAGIC_DATE : System.currentTimeMillis());
             }
             public void delete(Cache cache) {
                 String base = cache.dir.getParent() + slash + name;