diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-06-15 14:27:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 14:27:07 +0100 |
commit | 7120eb6bc943af6f725b0c61cfd110330f04064a (patch) | |
tree | a7e278689e44b36eeefe01cd7b8ecb247119c940 /setup | |
parent | 1b90cc95367947fa00616b4426d0c894b33c9862 (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')
-rw-r--r-- | setup/jetstream/streams.go | 6 |
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, |