]> code.citadel.org Git - citadel.git/blobdiff - webcit/preferences.c
* When editing another user's vCard, do a "transient goto" to their config
[citadel.git] / webcit / preferences.c
index c3f23f1c182e9231463ea7692f856be2bf31559e..916f55824c1686855618d93309cf75407576a5f1 100644 (file)
@@ -36,7 +36,7 @@ void load_preferences(void) {
 
        lprintf(9, "entering load_preferences()\n");
 
-       serv_printf("GOTO My Citadel Config");
+       serv_printf("GOTO %s", USERCONFIGROOM);
        serv_gets(buf);
        if (buf[0] != '2') return;
        
@@ -88,12 +88,12 @@ void save_preferences(void) {
        long msgnum = 0L;
 
        lprintf(9, "entering save_preferences()\n");
-       serv_printf("GOTO My Citadel Config");
+       serv_printf("GOTO %s", USERCONFIGROOM);
        serv_gets(buf);
        if (buf[0] != '2') { /* try to create the config room if not there */
-               serv_printf("CRE8 1|My Citadel Config|4|0");
+               serv_printf("CRE8 1|%s|4|0", USERCONFIGROOM);
                serv_gets(buf);
-               serv_printf("GOTO My Citadel Config");
+               serv_printf("GOTO %s", USERCONFIGROOM);
                serv_gets(buf);
                if (buf[0] != '2') return;      /* oh well. */
        }