#include <pwd.h>
#include <errno.h>
#include <sys/types.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-
+#include <time.h>
#include <sys/wait.h>
#include <ctype.h>
#include <string.h>
#include "config.h"
#include "user_ops.h"
#include "database.h"
+#include "room_ops.h"
#include "msgbase.h"
#include "internet_addressing.h"
#include "serv_imap.h"
}
free(ss_msglist);
-
- /*
- * The following two commands implement "instant expunge" if enabled.
- */
- if (config.c_instant_expunge) {
- imap_do_expunge();
- imap_rescan_msgids();
- }
+ imap_do_expunge(); // Citadel always expunges immediately.
+ imap_rescan_msgids();
}