]> code.citadel.org Git - citadel.git/commitdiff
* When auto-creating Mail>, Sent Items>, etc... set view to VIEW_MAILBOX
authorArt Cancro <ajc@citadel.org>
Wed, 23 Feb 2005 04:24:57 +0000 (04:24 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 23 Feb 2005 04:24:57 +0000 (04:24 +0000)
citadel/ChangeLog
citadel/serv_imap.c
citadel/serv_smtp.c
citadel/user_ops.c

index 2a3fe5ad05a0c158222ee879b6a909b04d204d29..a875d261879448811aaa08256cba44dde45a3b73 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 641.1  2005/02/23 04:24:57  ajc
+ * When auto-creating Mail>, Sent Items>, etc... set view to VIEW_MAILBOX
+
  Revision 641.0  2005/02/21 21:59:33  ajc
  * THIS IS 6.41
 
@@ -6427,4 +6430,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index bc3193be1b0457302a716b5cb7e7f518ba368a8b..9a8084a4b1b0ff3433823859bc1654258439ed97 100644 (file)
@@ -1235,7 +1235,7 @@ void imap_rename(int num_parms, char *parms[])
         * (already did that) and create a new inbox.
         */
        if (!strcasecmp(parms[2], "INBOX")) {
-               create_room(MAILROOM, 4, "", 0, 1, 0, VIEW_BBS);
+               create_room(MAILROOM, 4, "", 0, 1, 0, VIEW_MAILBOX);
        }
 
        /* Otherwise, do the subfolders.  Build a list of rooms to rename... */
index 16cac0173db43b5ac540fc36abb185a006f9f485..7c3718676b2dbf4690027507b51e8eae9b29df06 100644 (file)
@@ -1635,7 +1635,7 @@ void smtp_init_spoolout(void) {
         * Create the room.  This will silently fail if the room already
         * exists, and that's perfectly ok, because we want it to exist.
         */
-       create_room(SMTP_SPOOLOUT_ROOM, 3, "", 0, 1, 0, VIEW_BBS);
+       create_room(SMTP_SPOOLOUT_ROOM, 3, "", 0, 1, 0, VIEW_MAILBOX);
 
        /*
         * Make sure it's set to be a "system room" so it doesn't show up
index 72ebc12986080952a3f6839d844958fe86fdb4b2..4c7ed660a519f251654848e64a04ca643cc2e1c5 100644 (file)
@@ -487,8 +487,8 @@ void session_startup(void)
        /* Create any personal rooms required by the system.
         * (Technically, MAILROOM should be there already, but just in case...)
         */
-       create_room(MAILROOM, 4, "", 0, 1, 0, VIEW_BBS);
-       create_room(SENTITEMS, 4, "", 0, 1, 0, VIEW_BBS);
+       create_room(MAILROOM, 4, "", 0, 1, 0, VIEW_MAILBOX);
+       create_room(SENTITEMS, 4, "", 0, 1, 0, VIEW_MAILBOX);
 
        /* Run any startup routines registered by loadable modules */
        PerformSessionHooks(EVT_LOGIN);
@@ -836,7 +836,7 @@ int create_user(char *newusername, int become_user)
         * Make the latter an invisible system room.
         */
        MailboxName(mailboxname, sizeof mailboxname, &usbuf, MAILROOM);
-       create_room(mailboxname, 5, "", 0, 1, 1, VIEW_BBS);
+       create_room(mailboxname, 5, "", 0, 1, 1, VIEW_MAILBOX);
 
        MailboxName(mailboxname, sizeof mailboxname, &usbuf, USERCONFIGROOM);
        create_room(mailboxname, 5, "", 0, 1, 1, VIEW_BBS);