working on mailing list options
This commit is contained in:
@@ -219,6 +219,7 @@ public class Rest extends HttpServlet {
|
||||
if (list == null) return Map.of(ERROR,t("Mailinglist {} unknown",list.email()));
|
||||
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);
|
||||
return map;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user