From d6bfa34b956420265099cd7a285138ea9dbab6c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 21 Mar 2023 20:33:25 +0100 Subject: [PATCH] fix permissions for bridging --- config/services/mautrix-discord.nix | 2 +- config/services/mautrix-signal.nix | 3 ++- config/services/mautrix-whatsapp.nix | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/services/mautrix-discord.nix b/config/services/mautrix-discord.nix index 62082b80..908f7dd6 100644 --- a/config/services/mautrix-discord.nix +++ b/config/services/mautrix-discord.nix @@ -35,7 +35,7 @@ allow_key_sharing = true; }; permissions = { - "*" = "relaybot"; + "*" = "relay"; "@lotte:chir.rs" = "admin"; }; channel_name_template = "{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}} ({{.GuildName}} — {{.ParentName}}){{else}}#{{.Name}} ({{.GuildName}} — {{.ParentName}}){{end}}"; diff --git a/config/services/mautrix-signal.nix b/config/services/mautrix-signal.nix index 3bf0809c..6b378cce 100644 --- a/config/services/mautrix-signal.nix +++ b/config/services/mautrix-signal.nix @@ -48,9 +48,10 @@ delivery_error_reports = true; periodic_sync = 86400; permissions = { - "*" = "relaybot"; + "*" = "relay"; "@lotte:chir.rs" = "admin"; }; + relay.enabled = true; }; }; }; diff --git a/config/services/mautrix-whatsapp.nix b/config/services/mautrix-whatsapp.nix index cfc3fd8f..b712bd68 100644 --- a/config/services/mautrix-whatsapp.nix +++ b/config/services/mautrix-whatsapp.nix @@ -53,9 +53,10 @@ extev_polls = 2; send_whatsapp_edits = true; permissions = { - "*" = "relaybot"; + "*" = "relay"; "@lotte:chir.rs" = "admin"; }; + relay.enabled = true; }; }; };