@@ -301,9 +301,9 @@ responsibleForMedia
301
301
{{- end }}
302
302
303
303
{{- if eq .workerType "encryption" }}
304
- {{ $workerPaths = append $workerPaths
304
+ {{ $workerPaths = concat $workerPaths (list
305
305
"^/_matrix/client/(r0|v3|unstable)/sendToDevice/"
306
- }}
306
+ ) }}
307
307
{{- end }}
308
308
309
309
{{- if eq .workerType "event-creator" }}
@@ -376,9 +376,9 @@ responsibleForMedia
376
376
{{- end }}
377
377
378
378
{{- if eq .workerType "presence-writer" }}
379
- {{ $workerPaths = append $workerPaths
379
+ {{ $workerPaths = concat $workerPaths (list
380
380
"^/_matrix/client/(api/v1|r0|v3|unstable)/presence/"
381
- }}
381
+ ) }}
382
382
{{- end }}
383
383
384
384
{{- if eq .workerType "push-rules" }}
@@ -397,9 +397,9 @@ responsibleForMedia
397
397
{{- end }}
398
398
399
399
{{- if eq .workerType "sliding-sync" }}
400
- {{ $workerPaths = append $workerPaths
400
+ {{ $workerPaths = concat $workerPaths (list
401
401
"^/_matrix/client/unstable/org.matrix.simplified_msc3575/.*"
402
- }}
402
+ ) }}
403
403
{{- end }}
404
404
405
405
{{- if eq .workerType "sso-login" }}
@@ -433,15 +433,15 @@ responsibleForMedia
433
433
{{- end }}
434
434
435
435
{{- if eq .workerType "typing-persister" }}
436
- {{ $workerPaths = append $workerPaths
436
+ {{ $workerPaths = concat $workerPaths (list
437
437
"^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/typing"
438
- }}
438
+ ) }}
439
439
{{- end }}
440
440
441
441
{{- if eq .workerType "user-dir" }}
442
- {{ $workerPaths = append $workerPaths
442
+ {{ $workerPaths = concat $workerPaths (list
443
443
"^/_matrix/client/(r0|v3|unstable)/user_directory/search$"
444
- }}
444
+ ) }}
445
445
{{- end }}
446
446
{{ $workerPaths | toJson }}
447
447
{{- end }}
0 commit comments