From bfe94003c4f7dfd58375f9144b274bf369296a71 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Fri, 18 Aug 2023 00:54:06 +0200 Subject: [PATCH] =?UTF-8?q?bicep/matrix/discord:=20enable=20legacy=20autho?= =?UTF-8?q?rization=20because=20old=20mx-puppet-discord=20=F0=9F=98=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/bicep/services/matrix/discord.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/bicep/services/matrix/discord.nix b/hosts/bicep/services/matrix/discord.nix index d55273e..331188c 100644 --- a/hosts/bicep/services/matrix/discord.nix +++ b/hosts/bicep/services/matrix/discord.nix @@ -32,6 +32,9 @@ in services.mx-puppet-discord.serviceDependencies = [ "matrix-synapse.target" "nginx.service" ]; - services.matrix-synapse-next.settings.app_service_config_files = [ config.sops.secrets."matrix/registrations/mx-puppet-discord".path ]; + services.matrix-synapse-next.settings = { + app_service_config_files = [ config.sops.secrets."matrix/registrations/mx-puppet-discord".path ]; + use_appservice_legacy_authorization = true; + }; }