Skip to content

Commit 244a255

Browse files
Clarify auto_accept_invites.worker_to_run_on config docs (#17515)
1 parent 2dad718 commit 244a255

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

changelog.d/17515.doc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Clarify default behaviour of the
2+
[`auto_accept_invites.worker_to_run_on`](https://element-hq.github.io/synapse/develop/usage/configuration/config_documentation.html#auto-accept-invites)
3+
option.

docs/usage/configuration/config_documentation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4685,7 +4685,9 @@ This setting has the following sub-options:
46854685
* `only_for_direct_messages`: Whether invites should be automatically accepted for all room types, or only
46864686
for direct messages. Defaults to false.
46874687
* `only_from_local_users`: Whether to only automatically accept invites from users on this homeserver. Defaults to false.
4688-
* `worker_to_run_on`: Which worker to run this module on. This must match the "worker_name".
4688+
* `worker_to_run_on`: Which worker to run this module on. This must match
4689+
the "worker_name". If not set or `null`, invites will be accepted on the
4690+
main process.
46894691

46904692
NOTE: Care should be taken not to enable this setting if the `synapse_auto_accept_invite` module is enabled and installed.
46914693
The two modules will compete to perform the same task and may result in undesired behaviour. For example, multiple join

0 commit comments

Comments
 (0)