From e53a7897271c8dc8ddc772744a3a1ca48d180894 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Fri, 21 Jun 2024 06:09:20 +0200
Subject: [PATCH] matrix: Disable presence

We're leaking pending EDUs in the federation writer since about
2023-10-28.

See: https://github.com/matrix-org/synapse/issues/13901
---
 roles/matrix/templates/homeserver.yaml.j2 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/roles/matrix/templates/homeserver.yaml.j2 b/roles/matrix/templates/homeserver.yaml.j2
index b64e9d233..2f1d2ada3 100644
--- a/roles/matrix/templates/homeserver.yaml.j2
+++ b/roles/matrix/templates/homeserver.yaml.j2
@@ -58,6 +58,9 @@ caches:
   per_cache_factors:
     get_users_in_room: 5.0
 
+presence:
+  enabled: false
+
 # Retention
 delete_stale_devices_after: 1y
 media_retention:
-- 
GitLab