aboutsummaryrefslogtreecommitdiff
path: root/setup/jetstream
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-06-15 14:27:07 +0100
committerGitHub <noreply@github.com>2022-06-15 14:27:07 +0100
commit7120eb6bc943af6f725b0c61cfd110330f04064a (patch)
treea7e278689e44b36eeefe01cd7b8ecb247119c940 /setup/jetstream
parent1b90cc95367947fa00616b4426d0c894b33c9862 (diff)
Add `InputDeviceListUpdate` to the keyserver, remove old input API (#2536)
* Add `InputDeviceListUpdate` to the keyserver, remove old input API * Fix copyright * Log more information when a device list update fails
Diffstat (limited to 'setup/jetstream')
-rw-r--r--setup/jetstream/streams.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup/jetstream/streams.go b/setup/jetstream/streams.go
index 6594e694..110808b1 100644
--- a/setup/jetstream/streams.go
+++ b/setup/jetstream/streams.go
@@ -16,6 +16,7 @@ const (
var (
InputRoomEvent = "InputRoomEvent"
+ InputDeviceListUpdate = "InputDeviceListUpdate"
OutputRoomEvent = "OutputRoomEvent"
OutputSendToDeviceEvent = "OutputSendToDeviceEvent"
OutputKeyChangeEvent = "OutputKeyChangeEvent"
@@ -46,6 +47,11 @@ var streams = []*nats.StreamConfig{
Storage: nats.FileStorage,
},
{
+ Name: InputDeviceListUpdate,
+ Retention: nats.InterestPolicy,
+ Storage: nats.FileStorage,
+ },
+ {
Name: OutputRoomEvent,
Retention: nats.InterestPolicy,
Storage: nats.FileStorage,