]> code.citadel.org Git - citadel.git/blobdiff - citadel/user_ops.c
* When a user logs in, create the Mail> room if it doesn't exist. (Should
[citadel.git] / citadel / user_ops.c
index 5654987d9d756cb37fc03e9af6acfcaf34a0a3e5..9b809fdf664a07728c3b8cac5ba7c0e65ade9b74 100644 (file)
@@ -406,7 +406,10 @@ void session_startup(void)
        /* Run any startup routines registered by loadable modules */
        PerformSessionHooks(EVT_LOGIN);
 
-       /* Create any personal rooms required by the system */
+       /* 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);
        create_room(SENTITEMS, 4, "", 0, 1, 0);
 
        /* Enter the lobby */