Просмотр исходного кода

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

pull/2161/head
Samuel Meenzen 3 лет назад
committed by GitHub
Родитель
Сommit
7cc3aae041
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
2 измененных файлов: 5 добавлений и 1 удалений
  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 Просмотреть файл

@@ -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 Просмотреть файл

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


Загрузка…
Отмена
Сохранить