mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 05:48:15 +03:00
webmail: Don't abort SSE connection when a metadata/annotation change is made (broadcasted)
Missing case...
This commit is contained in:
parent
26793e407a
commit
719dc2bee1
@ -962,6 +962,9 @@ func serveEvents(ctx context.Context, log mlog.Log, accountPath string, w http.R
|
|||||||
case store.ChangeAddSubscription:
|
case store.ChangeAddSubscription:
|
||||||
// Webmail does not care about subscriptions.
|
// Webmail does not care about subscriptions.
|
||||||
|
|
||||||
|
case store.ChangeAnnotation:
|
||||||
|
// Nothing.
|
||||||
|
|
||||||
default:
|
default:
|
||||||
panic(fmt.Sprintf("missing case for change %T", c))
|
panic(fmt.Sprintf("missing case for change %T", c))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user