2005-07-04 [colin] 1.9.12cvs19
[claws.git] / src / imap.c
index 7a33959638424b488402435d032616eba02213d9..e443ee1ae992bbe2473763ca8aa7fe9d3126bf34 100644 (file)
@@ -3065,7 +3065,8 @@ gboolean imap_scan_required(Folder *folder, FolderItem *_item)
                if (ok != IMAP_SUCCESS)
                        return FALSE;
 
-               if (session->folder_content_changed)
+               if (session->folder_content_changed
+               ||  session->exists != item->item.total_msgs)
                        return TRUE;
        } else {
                ok = imap_status(session, IMAP_FOLDER(folder), item->item.path,