@@ -311,9 +311,9 @@ responsibleForMedia
311
311
{{- end }}
312
312
313
313
{{- if eq .workerType "encryption" }}
314
- {{ $workerPaths = append $workerPaths
314
+ {{ $workerPaths = concat $workerPaths (list
315
315
"^/_matrix/client/(r0|v3|unstable)/sendToDevice/"
316
- }}
316
+ ) }}
317
317
{{- end }}
318
318
319
319
{{- if eq .workerType "event-creator" }}
@@ -386,9 +386,9 @@ responsibleForMedia
386
386
{{- end }}
387
387
388
388
{{- if eq .workerType "presence-writer" }}
389
- {{ $workerPaths = append $workerPaths
389
+ {{ $workerPaths = concat $workerPaths (list
390
390
"^/_matrix/client/(api/v1|r0|v3|unstable)/presence/"
391
- }}
391
+ ) }}
392
392
{{- end }}
393
393
394
394
{{- if eq .workerType "push-rules" }}
@@ -405,9 +405,9 @@ responsibleForMedia
405
405
{{- end }}
406
406
407
407
{{- if eq .workerType "sliding-sync" }}
408
- {{ $workerPaths = append $workerPaths
408
+ {{ $workerPaths = concat $workerPaths (list
409
409
"^/_matrix/client/unstable/org.matrix.simplified_msc3575/.*"
410
- }}
410
+ ) }}
411
411
{{- end }}
412
412
413
413
{{- if eq .workerType "sso-login" }}
@@ -441,15 +441,15 @@ responsibleForMedia
441
441
{{- end }}
442
442
443
443
{{- if eq .workerType "typing-persister" }}
444
- {{ $workerPaths = append $workerPaths
444
+ {{ $workerPaths = concat $workerPaths (list
445
445
"^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/typing"
446
- }}
446
+ ) }}
447
447
{{- end }}
448
448
449
449
{{- if eq .workerType "user-dir" }}
450
- {{ $workerPaths = append $workerPaths
450
+ {{ $workerPaths = concat $workerPaths (list
451
451
"^/_matrix/client/(r0|v3|unstable)/user_directory/search$"
452
- }}
452
+ ) }}
453
453
{{- end }}
454
454
{{ $workerPaths | toJson }}
455
455
{{- end }}
0 commit comments