config: fix formatting of discord gateways

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-03-14 13:07:41 +01:00
parent e1a1908898
commit 1ee6568bad
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4

View File

@ -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 %}