From 719dc2bee183f282473ba7720aa37525f8563b91 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sun, 16 Mar 2025 14:02:45 +0100 Subject: [PATCH] webmail: Don't abort SSE connection when a metadata/annotation change is made (broadcasted) Missing case... --- webmail/view.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webmail/view.go b/webmail/view.go index 3fdb25c..ada0e94 100644 --- a/webmail/view.go +++ b/webmail/view.go @@ -962,6 +962,9 @@ func serveEvents(ctx context.Context, log mlog.Log, accountPath string, w http.R case store.ChangeAddSubscription: // Webmail does not care about subscriptions. + case store.ChangeAnnotation: + // Nothing. + default: panic(fmt.Sprintf("missing case for change %T", c)) }