From 8c0c3441d88a612ca8e9ba4f83c6ff29ca73f5d0 Mon Sep 17 00:00:00 2001 From: Till <2353100+S7evinK@users.noreply.github.com> Date: Wed, 5 Oct 2022 12:12:42 +0200 Subject: Add `RoomEventType` nats.Header to avoid unneeded unmarshalling (#2765) --- setup/jetstream/streams.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'setup') 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 ( -- cgit v1.2.3