aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2022-10-05 12:12:42 +0200
committerGitHub <noreply@github.com>2022-10-05 12:12:42 +0200
commit8c0c3441d88a612ca8e9ba4f83c6ff29ca73f5d0 (patch)
tree74b355bf97be6ad1b82cf89d16d564105f5373de /setup
parentebd137cf6b2fbd767625dc5289b0bef6d1e51971 (diff)
Add `RoomEventType` nats.Header to avoid unneeded unmarshalling (#2765)
Diffstat (limited to 'setup')
-rw-r--r--setup/jetstream/streams.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup/jetstream/streams.go b/setup/jetstream/streams.go
index ee9810da..590f0cbd 100644
--- a/setup/jetstream/streams.go
+++ b/setup/jetstream/streams.go
@@ -9,9 +9,10 @@ import (
)
const (
- UserID = "user_id"
- RoomID = "room_id"
- EventID = "event_id"
+ UserID = "user_id"
+ RoomID = "room_id"
+ EventID = "event_id"
+ RoomEventType = "output_room_event_type"
)
var (