From 1ee6568bad2cc5b8b7a2416c59e0d2162614ab70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 14 Mar 2024 13:07:41 +0100 Subject: [PATCH] config: fix formatting of discord gateways MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- templates/matterbridge.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/matterbridge.yaml.j2 b/templates/matterbridge.yaml.j2 index b77cb59..ffc65fd 100644 --- a/templates/matterbridge.yaml.j2 +++ b/templates/matterbridge.yaml.j2 @@ -58,10 +58,10 @@ gateway: - account: "discord.{{ discord_srv.srv }}" channel: "{{ discord_srv.ch }}" - {% if not matterbridge_bridges['discord'][discord_srv.srv].get('AutoWebhooks', False) %} + {% if not matterbridge_bridges['discord'][discord_srv.srv].get('AutoWebhooks', False) -%} options: WebhookURL: "{{lookup("bitwarden", "Discord/"+discord_srv.srv+"/webhooks", field=discord_srv.ch)}}" - {% endif %} + {%- endif %} {% endfor %} {% endfor %}