+Mon Oct 24 22:52:33 EDT 2005 ajc
+* Every user gets a Trash folder. Clients can also use _TRASH_
+
Mon Oct 24 11:19:47 EDT 2005 ajc
* serv_listsub.c: web subscription/confirmation address no longer has http://
prepended to it. This means that clients now must supply that. This was
else if (!strcasecmp(towhere, "_MAIL_")) {
safestrncpy(towhere, MAILROOM, sizeof towhere);
}
+ else if (!strcasecmp(towhere, "_TRASH_")) {
+ safestrncpy(towhere, USERTRASHROOM, sizeof towhere);
+ }
else if (!strcasecmp(towhere, "_BITBUCKET_")) {
safestrncpy(towhere, config.c_twitroom, sizeof towhere);
}
#define USERTASKSROOM "Tasks"
#define USERCONTACTSROOM "Contacts"
#define USERNOTESROOM "Notes"
+#define USERTRASHROOM "Trash"
#define PAGELOGROOM "Sent/Received Pages"
#define SYSCONFIGROOM "Local System Configuration"
#define SMTP_SPOOLOUT_ROOM "__CitadelSMTPspoolout__"
There are also several additional reserved room names:
"_MAIL_" goes to the user's inbox (i.e. the Mail> room).
+ "_TRASH_" goes to the user's personal trashcan room (trash folder).
"_BITBUCKET_" goes to a room that has been chosen for messages without a home.
"_CALENDAR_" goes to the user's primary personal calendar.
"_CONTACTS_" goes to the user's primary personal address book.
*/
create_room(MAILROOM, 4, "", 0, 1, 0, VIEW_MAILBOX);
create_room(SENTITEMS, 4, "", 0, 1, 0, VIEW_MAILBOX);
+ create_room(USERTRASHROOM, 4, "", 0, 1, 0, VIEW_MAILBOX);
/* Run any startup routines registered by loadable modules */
PerformSessionHooks(EVT_LOGIN);