*
* Copyright (c) 2001-2009 by the citadel.org team
*
- * This program is free software; you can redistribute it and/or modify
+ * This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
#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();
}