From d158bdec371ebb5175c9f6b6b6f27b4afadddbc9 Mon Sep 17 00:00:00 2001 From: "Rory&::Emma" Date: Fri, 1 Nov 2024 16:48:36 +0000 Subject: Server changes --- host/Rory-nginx/services/matrix/draupnir.nix | 8 ++++---- host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/host/Rory-nginx/services/matrix/draupnir.nix b/host/Rory-nginx/services/matrix/draupnir.nix index 8be10bc..adc525c 100755 --- a/host/Rory-nginx/services/matrix/draupnir.nix +++ b/host/Rory-nginx/services/matrix/draupnir.nix @@ -2,10 +2,10 @@ { services.draupnir = { - package = (pkgs.draupnir.overrideAttrs (oldAttrs: { - src = draupnirSrc; - version = draupnirSrc.rev; - })); + #package = (pkgs.draupnir.overrideAttrs (oldAttrs: { + # src = draupnirSrc; + # version = draupnirSrc.rev; + #})); enable = true; homeserverUrl = "https://matrix.rory.gay"; diff --git a/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix b/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix index e52010c..1e0c638 100644 --- a/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix +++ b/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix @@ -14,6 +14,7 @@ let "~ ^/_synapse/admin/v1/purge_media_cache$" "~ ^/_synapse/admin/v1/room/.*/media.*$" "~ ^/_synapse/admin/v1/user/.*/media.*$" + "~ ^/_synapse/admin/v1/users/.*/media$" "~ ^/_synapse/admin/v1/media/.*$" "~ ^/_synapse/admin/v1/quarantine_media/.*$" "~ ^/_matrix/media/" -- cgit 1.4.1