From 7d73b2582a48f4bcf5ddf1e53d091086496fc4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 19 Nov 2022 10:49:40 +0100 Subject: [PATCH] Update mautrix discord patch --- config/services/mautrix-discord.nix | 1 + flake.lock | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/services/mautrix-discord.nix b/config/services/mautrix-discord.nix index b899cbe3..4d32e5ae 100644 --- a/config/services/mautrix-discord.nix +++ b/config/services/mautrix-discord.nix @@ -33,6 +33,7 @@ permissions = { "@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/flake.lock b/flake.lock index bc1bc9a4..393bab1b 100644 --- a/flake.lock +++ b/flake.lock @@ -629,11 +629,11 @@ ] }, "locked": { - "lastModified": 1668842581, - "narHash": "sha256-lY4du2QbTjGC/SlC2Wr26Mm6EWuMgXnl+VPtDGkN5oY=", + "lastModified": 1668851164, + "narHash": "sha256-bPhEG4hIzkgLB3rNn/yEdePSZ+MA2m/cfOt3JuYoXqw=", "owner": "DarkKirb", "repo": "nix-packages", - "rev": "ec55e8f9ac227f0f7cfada3c44bfd1a507211574", + "rev": "e2effcee7529c78fa3e4caf00e593f10227228cc", "type": "github" }, "original": {