From: Art Cancro Date: Mon, 29 Oct 2007 17:12:35 +0000 (+0000) Subject: Add keep/delete config to pop3 client X-Git-Tag: v7.86~2884 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=89e73c2d7fc69f14bf21e6874b877b3ee70158f8;p=citadel.git Add keep/delete config to pop3 client --- diff --git a/webcit/roomops.c b/webcit/roomops.c index ae8490bdf..80c8e4e14 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -1776,6 +1776,8 @@ void display_editroom(void) wprintf(_("User name")); wprintf(""); wprintf(_("Password")); + wprintf(""); + wprintf(_("Keep messages on server?")); wprintf(""); serv_puts("GNET"); @@ -1798,6 +1800,8 @@ void display_editroom(void) wprintf("*****"); /* Don't show the password */ + wprintf("%s", extract_int(buf, 4) ? _("Yes") : _("No")); + wprintf(""); wprintf(" \n"); wprintf(""); wprintf(""); + wprintf(""); + wprintf(""); + wprintf(""); wprintf("", _("Add")); wprintf(""); wprintf("\n"); @@ -2584,6 +2591,8 @@ void netedit(void) { strcat(line, bstr("line_pop3user")); strcat(line, "|"); strcat(line, bstr("line_pop3pass")); + strcat(line, "|"); + strcat(line, atoi(bstr("line_pop3keep")) ? "1" : "0" ); strcat(line, bstr("suffix")); } else if (!IsEmptyStr(bstr("line"))) {