Signed-off-by: Suguru Hirahara <did🔑z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
pull/4943/head
| @@ -26,16 +26,6 @@ matrix_synapse_ext_synapse_auto_accept_invite_enabled: true | |||||
| matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages: true | matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages: true | ||||
| ``` | ``` | ||||
| ### Synapse worker deployments | |||||
| In a [workerized Synapse deployment](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/c9a842147e09647c355799ca024d65a5de66b099/docs/configuring-playbook-synapse.md#load-balancing-with-workers) it is possible to run this module on a worker to reduce the load on the main process (Default is `null`). For example, add this to your configuration: | |||||
| ```yaml | |||||
| matrix_synapse_ext_synapse_auto_accept_invite_worker_to_run_on: 'matrix-synapse-worker-generic-0' | |||||
| ``` | |||||
| There might be an [issue with federation](https://github.com/matrix-org/synapse-auto-accept-invite/issues/18). | |||||
| ## Native alternative | ## Native alternative | ||||
| Since Synapse [v1.109.0](https://github.com/element-hq/synapse/releases/tag/v1.109.0), the functionality provided by the [synapse-auto-invite-accept](https://github.com/matrix-org/synapse-auto-accept-invite) 3rd party module [has been made](https://github.com/element-hq/synapse/pull/17147) part of Synapse. | Since Synapse [v1.109.0](https://github.com/element-hq/synapse/releases/tag/v1.109.0), the functionality provided by the [synapse-auto-invite-accept](https://github.com/matrix-org/synapse-auto-accept-invite) 3rd party module [has been made](https://github.com/element-hq/synapse/pull/17147) part of Synapse. | ||||
| @@ -1564,8 +1564,6 @@ matrix_synapse_ext_synapse_auto_accept_invite_version: 1.1.3 | |||||
| matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages: false | matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages: false | ||||
| # Specifies whether only invites from local users will be auto accepted. | # Specifies whether only invites from local users will be auto accepted. | ||||
| matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_from_local_users: false | matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_from_local_users: false | ||||
| # When Synapse workers enabled it is possible (but not required) to assign a worker to run this module on (null = main process). | |||||
| matrix_synapse_ext_synapse_auto_accept_invite_worker_to_run_on: null | |||||
| # Specifies whether an external media repository is enabled. | # Specifies whether an external media repository is enabled. | ||||
| # If it is, the Synapse media repo and media-repo workers will be disabled automatically. | # If it is, the Synapse media repo and media-repo workers will be disabled automatically. | ||||
| @@ -15,7 +15,6 @@ | |||||
| "config": { | "config": { | ||||
| "accept_invites_only_for_direct_messages": matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages, | "accept_invites_only_for_direct_messages": matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages, | ||||
| "accept_invites_only_from_local_users": matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_from_local_users, | "accept_invites_only_from_local_users": matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_from_local_users, | ||||
| "worker_to_run_on": matrix_synapse_ext_synapse_auto_accept_invite_worker_to_run_on, | |||||
| }, | }, | ||||
| }] | }] | ||||
| }} | }} | ||||