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

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


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