Löschen von Nachrichten aus dem Archiv implementiert. Dies Löst #2

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-03-15 11:22:58 +01:00
parent 8be07ed6ae
commit 89fda62c9d
7 changed files with 56 additions and 8 deletions

View File

@@ -139,7 +139,11 @@ public class Web extends TemplateServlet {
map.put(LIST,list.email());
var month = req.getParameter(MONTH);
if (month != null && !month.isBlank())map.put(MONTH,month);
if (month != null && !month.isBlank()){
map.put(MONTH,month);
var user = Util.getUser(req);
map.put(MODERATOR,list.mayBeAlteredBy(user));
}
return loadTemplate(ARCHIVE,map,resp);
}