소스 검색

feat(appservice-discord): add disablePortalBridging bridge option

This allows disabling the automatic portal bridging, meaning bridges
must be manually setup via self-servicing, by setting:

    matrix_appservice_discord_bridge_enableSelfServiceBridging: true
pull/1678/head
Jim Myhrberg 4 년 전
부모
커밋
a5e95c42b2
No known key found for this signature in database GPG 키 ID: B85A9E6D6BBB670E
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      roles/matrix-bridge-appservice-discord/defaults/main.yml
  2. +2
    -0
      roles/matrix-bridge-appservice-discord/templates/config.yaml.j2

+ 1
- 0
roles/matrix-bridge-appservice-discord/defaults/main.yml 파일 보기

@@ -42,6 +42,7 @@ matrix_appservice_discord_bridge_domain: "{{ matrix_domain }}"
matrix_appservice_discord_bridge_homeserverUrl: "{{ matrix_homeserver_url }}"
matrix_appservice_discord_bridge_disablePresence: false
matrix_appservice_discord_bridge_enableSelfServiceBridging: false
matrix_appservice_discord_bridge_disablePortalBridging: false

# Database-related configuration fields.
#


+ 2
- 0
roles/matrix-bridge-appservice-discord/templates/config.yaml.j2 파일 보기

@@ -28,6 +28,8 @@ bridge:
disableJoinLeaveNotifications: false
# Disable Invite echos from matrix
disableInviteNotifications: false
# Disable portal briding (automatic room creation)
disablePortalBridging: {{ matrix_appservice_discord_bridge_disablePortalBridging|to_json }}
# Auto-determine the language of code blocks (this can be CPU-intensive)
determineCodeLanguage: false
# Authentication configuration for the discord bot.


불러오는 중...
취소
저장