first working version

This commit is contained in:
2022-04-20 11:49:23 +02:00
parent 052ce75286
commit 523e2fc432
8 changed files with 91 additions and 18 deletions

View File

@@ -220,6 +220,8 @@ public class Rest extends HttpServlet {
var map = new HashMap<>();
if (list.hasState(MailingList.STATE_FORWARD_FROM)) map.put("forward_from",true);
if (list.hasState(MailingList.STATE_FORWARD_ATTACHED)) map.put("forward_attached",true);
if (list.hasState(MailingList.STATE_HIDE_RECEIVERS)) map.put("hide_receivers",true);
if (list.hasState(MailingList.STATE_REPLY_TO_LIST)) map.put("reply_to_list",true);
return map;
}