From ea63d75c60d4a64f23b9e3a4d958ed398b5a44ca Mon Sep 17 00:00:00 2001
From: Pascal Bleser
Date: Thu, 7 Aug 2025 13:53:59 +0200
Subject: [PATCH] groupware: fix email search, add variant that includes the
full emails
---
services/groupware/pkg/groupware/groupware_framework.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/groupware/pkg/groupware/groupware_framework.go b/services/groupware/pkg/groupware/groupware_framework.go
index 2132043671..9109dc3f94 100644
--- a/services/groupware/pkg/groupware/groupware_framework.go
+++ b/services/groupware/pkg/groupware/groupware_framework.go
@@ -157,7 +157,7 @@ func (g Groupware) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
// Provide a JMAP Session for the
-func (g Groupware) session(username string, req *http.Request, ctx context.Context, logger *log.Logger) (jmap.Session, bool, error) {
+func (g Groupware) session(username string, _ *http.Request, _ context.Context, _ *log.Logger) (jmap.Session, bool, error) {
item := g.sessionCache.Get(username)
if item != nil {
value := item.Value()