瀏覽代碼

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

pull/2161/head
Samuel Meenzen 3 年之前
committed by GitHub
父節點
當前提交
7cc3aae041
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 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.


Loading…
取消
儲存