From a8222b0b32101cb53c37f8c35b09c65f00e47829 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Mon, 30 Sep 2024 19:34:56 +0800 Subject: [PATCH] tyo0/element-web: disable presence --- hosts/aws/tyo0/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hosts/aws/tyo0/default.nix b/hosts/aws/tyo0/default.nix index 5dd995f..a001277 100644 --- a/hosts/aws/tyo0/default.nix +++ b/hosts/aws/tyo0/default.nix @@ -139,9 +139,14 @@ { handler = "file_server"; root = pkgs.element-web.override { - conf.default_server_config."m.homeserver" = { - base_url = "https://matrix.ny4.dev"; - server_name = "ny4.dev"; + conf = { + default_server_config."m.homeserver" = { + base_url = "https://matrix.ny4.dev"; + server_name = "ny4.dev"; + }; + enable_presence_by_hs_url = { + "https://matrix.ny4.dev" = false; + }; }; }; }