We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dea9f0 commit e877b6cCopy full SHA for e877b6c
changelog/unreleased/allow-multiple-event-user-ids.md
@@ -0,0 +1,5 @@
1
+Enhancement: allow sending multiple user ids in one sse event
2
+
3
+Sending multiple user ids in one sse event is now possible which reduces the number of sent events.
4
5
+https://github.com/cs3org/reva/pull/4501
pkg/events/sse.go
@@ -4,9 +4,9 @@ import (
"encoding/json"
)
6
7
-// SendSEE instructs the sse service to send a notification to a user
+// SendSSE instructs the sse service to send one or multiple notifications
8
type SendSSE struct {
9
- UserID string
+ UserIDs []string
10
Type string
11
Message []byte
12
}
0 commit comments