From 9fdd900273008b1a8525cc3847c3e8d0d0e03677 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Thu, 11 Jan 2024 07:21:04 -0700 Subject: [PATCH] overlays/matrix-synapse: attempt to fix badge count --- overlays/matrix-synapse.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/overlays/matrix-synapse.nix b/overlays/matrix-synapse.nix index d4d11e7..db81503 100644 --- a/overlays/matrix-synapse.nix +++ b/overlays/matrix-synapse.nix @@ -13,6 +13,17 @@ let inherit hash; }; + patches = [ + # Stop synapse from calculating the badge count per missed convo + # reverts https://github.com/matrix-org/synapse/pull/793/files + # fixes https://github.com/matrix-org/matrix-spec-proposals/pull/4076 + (super.fetchpatch { + name = "revert-per-convo-badge.diff"; + url = "https://patch-diff.githubusercontent.com/raw/matrix-org/synapse/pull/793.patch"; + hash = "sha256-ir0iqAYtxCDx9tyX1AGwXwFzk4lpI7kaVvC7gPCMMMI="; + }) + ]; + cargoDeps = super.rustPlatform.fetchCargoTarball { inherit src sha256; name = "${pname}-${version}";