summary refs log tree commit diff
path: root/develop/usage/configuration/config_documentation.html
diff options
context:
space:
mode:
Diffstat (limited to 'develop/usage/configuration/config_documentation.html')
-rw-r--r--develop/usage/configuration/config_documentation.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html
index 6ef0c401fb..7a7dc7f0a8 100644
--- a/develop/usage/configuration/config_documentation.html
+++ b/develop/usage/configuration/config_documentation.html
@@ -4094,6 +4094,32 @@ Set a size to change the default.</li>
     min_batch_size: 10
     default_batch_size: 50
 </code></pre>
+<hr />
+<h2 id="auto-accept-invites"><a class="header" href="#auto-accept-invites">Auto Accept Invites</a></h2>
+<p>Configuration settings related to automatically accepting invites.</p>
+<hr />
+<h3 id="auto_accept_invites"><a class="header" href="#auto_accept_invites"><code>auto_accept_invites</code></a></h3>
+<p>Automatically accepting invites controls whether users are presented with an invite request or if they
+are instead automatically joined to a room when receiving an invite. Set the <code>enabled</code> sub-option to true to
+enable auto-accepting invites. Defaults to false.
+This setting has the following sub-options:</p>
+<ul>
+<li><code>enabled</code>: Whether to run the auto-accept invites logic. Defaults to false.</li>
+<li><code>only_for_direct_messages</code>: Whether invites should be automatically accepted for all room types, or only
+for direct messages. Defaults to false.</li>
+<li><code>only_from_local_users</code>: Whether to only automatically accept invites from users on this homeserver. Defaults to false.</li>
+<li><code>worker_to_run_on</code>: Which worker to run this module on. This must match the &quot;worker_name&quot;.</li>
+</ul>
+<p>NOTE: Care should be taken not to enable this setting if the <code>synapse_auto_accept_invite</code> module is enabled and installed.
+The two modules will compete to perform the same task and may result in undesired behaviour. For example, multiple join
+events could be generated from a single invite.</p>
+<p>Example configuration:</p>
+<pre><code class="language-yaml">auto_accept_invites:
+    enabled: true
+    only_for_direct_messages: true
+    only_from_local_users: true
+    worker_to_run_on: &quot;worker_1&quot;
+</code></pre>
 
                     </main>