@@ -9,6 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
9
9
{ {- with required " element-io.synapse.process.hasHttp missing context" .context -} }
10
10
{ { $hasHttp := (list " main"
11
11
" client-reader"
12
+ " device-lists"
12
13
" encryption"
13
14
" event-creator"
14
15
" federation-inbound"
@@ -33,6 +34,7 @@ hasHttp
33
34
{ {- $root := .root -} }
34
35
{ {- with required " element-io.synapse.process.hasReplication missing context" .context -} }
35
36
{ {- $hasReplication := (list " main"
37
+ " device-lists"
36
38
" encryption"
37
39
" event-persister"
38
40
" push-rules"
@@ -131,7 +133,9 @@ responsibleForMedia
131
133
{ {- define " element-io.synapse.process.streamWriters" -} }
132
134
{ {- $root := .root -} }
133
135
{ {- with required " element-io.synapse.process.streamWriters missing context" .context -} }
134
- { {- if eq . " encryption" } }
136
+ { {- if eq . " device-lists" } }
137
+ { { list " device_lists" | toJson } }
138
+ { {- else if eq . " encryption" } }
135
139
{ { list " to_device" | toJson } }
136
140
{ {- else if eq . " event-persister" } }
137
141
{ { list " events" | toJson } }
@@ -283,7 +287,16 @@ responsibleForMedia
283
287
{{ $workerPaths = concat $workerPaths (list
284
288
"^/_matrix/client/(r0|v3|unstable)/keys/claim$"
285
289
"^/_matrix/client/(r0|v3|unstable)/room_keys/"
290
+ ) }}
291
+ {{- end }}
292
+
293
+ {{- if eq .workerType "device-lists" }}
294
+ {{ $workerPaths = concat $workerPaths (list
295
+ "^/_matrix/client/(r0|v3)/delete_devices$"
296
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/devices(/|$)"
286
297
"^/_matrix/client/(r0|v3|unstable)/keys/upload"
298
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/keys/device_signing/upload$"
299
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/keys/signatures/upload$"
287
300
) }}
288
301
{{- end }}
289
302
0 commit comments