Преглед изворни кода

fix: accept only direct messages should work now and better wording

pull/3195/head
xvsun пре 2 година
родитељ
комит
f8de649f48
3 измењених фајлова са 5 додато и 4 уклоњено
  1. +1
    -1
      docs/configuring-playbook-synapse-auto-accept-invite.md
  2. +1
    -1
      roles/custom/matrix-synapse/defaults/main.yml
  3. +3
    -2
      roles/custom/matrix-synapse/tasks/ext/synapse-auto-accept-invite/setup_install.yml

+ 1
- 1
docs/configuring-playbook-synapse-auto-accept-invite.md Прегледај датотеку

@@ -10,5 +10,5 @@ If you decide that you'd like to let this playbook install it for you, you need
```yaml ```yaml
matrix_synapse_ext_synapse_auto_accept_invite_enabled: true matrix_synapse_ext_synapse_auto_accept_invite_enabled: true


matrix_synapse_ext_synapse_auto_accept_invite_only_one_to_one: true
matrix_synapse_ext_synapse_auto_accept_invite_only_direct_messages: true
``` ```

+ 1
- 1
roles/custom/matrix-synapse/defaults/main.yml Прегледај датотеку

@@ -1225,7 +1225,7 @@ matrix_synapse_ext_synapse_s3_storage_provider_periodic_migration_schedule: '*-*
matrix_synapse_ext_synapse_auto_accept_invite_enabled: false matrix_synapse_ext_synapse_auto_accept_invite_enabled: false
matrix_synapse_ext_synapse_auto_accept_invite_version: 1.1.3 matrix_synapse_ext_synapse_auto_accept_invite_version: 1.1.3
# Specifies whether only direct messages (1:1 rooms) will be auto accepted. # Specifies whether only direct messages (1:1 rooms) will be auto accepted.
matrix_synapse_ext_synapse_auto_accept_invite_only_one_to_one: false
matrix_synapse_ext_synapse_auto_accept_invite_only_direct_messages: false


# 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.


+ 3
- 2
roles/custom/matrix-synapse/tasks/ext/synapse-auto-accept-invite/setup_install.yml Прегледај датотеку

@@ -6,7 +6,8 @@
[ [
{ {
"module": "synapse_auto_accept_invite.InviteAutoAccepter", "module": "synapse_auto_accept_invite.InviteAutoAccepter",
"config": matrix_synapse_ext_synapse_auto_accept_invite_only_one_to_one
"config": {
"accept_invites_only_for_direct_messages": matrix_synapse_ext_synapse_auto_accept_invite_only_direct_messages
} }
]
}]
}} }}

Loading…
Откажи
Сачувај