Explorar el Código

fix(mautrix-discord): allow configuring the restricted_rooms option

pull/2161/head
Samuel Meenzen hace 3 años
committed by GitHub
padre
commit
7cc3aae041
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. +4
    -0
      roles/matrix-bridge-mautrix-discord/defaults/main.yml
  2. +1
    -1
      roles/matrix-bridge-mautrix-discord/templates/config.yaml.j2

+ 4
- 0
roles/matrix-bridge-mautrix-discord/defaults/main.yml Ver fichero

@@ -140,3 +140,7 @@ matrix_mautrix_discord_registration: "{{ matrix_mautrix_discord_registration_yam
matrix_mautrix_discord_bridge_encryption_allow: false
matrix_mautrix_discord_bridge_encryption_default: "{{ matrix_mautrix_discord_bridge_encryption_allow }}"
matrix_mautrix_discord_bridge_encryption_key_sharing_allow: "{{ matrix_mautrix_discord_bridge_encryption_allow }}"

# On conduit this option may prevent you from joining spaces created by the bridge.
# Setting this to false fixes the issue.
matrix_mautrix_discord_restricted_rooms: true

+ 1
- 1
roles/matrix-bridge-mautrix-discord/templates/config.yaml.j2 Ver fichero

@@ -101,7 +101,7 @@ bridge:
message_error_notices: true
# Should the bridge use space-restricted join rules instead of invite-only for guild rooms?
# This can avoid unnecessary invite events in guild rooms when members are synced in.
restricted_rooms: true
restricted_rooms: {{ matrix_mautrix_discord_restricted_rooms }}
# Should the bridge update the m.direct account data event when double puppeting is enabled.
# Note that updating the m.direct event is not atomic (except with mautrix-asmux)
# and is therefore prone to race conditions.


Cargando…
Cancelar
Guardar