From c8da248e0c74461eba4fe9b8c1e7b0cea53453be Mon Sep 17 00:00:00 2001 From: NinekoTheCat Date: Sun, 24 Dec 2023 20:36:45 +0100 Subject: [PATCH] fix: added emojis in the list command that change based on the .to_emoji() function instead of being hardcoded in case of further changes to emojis. --- src/service/admin/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/service/admin/mod.rs b/src/service/admin/mod.rs index 0a49664c..afeb646d 100644 --- a/src/service/admin/mod.rs +++ b/src/service/admin/mod.rs @@ -1319,10 +1319,12 @@ impl Service { RoomMessageEventContent::text_plain(format!( " List of services: \n - ❎ = blocked\n - ✅ = allowed\n + {} = blocked\n + {} = allowed\n {} ", + AclMode::Block.to_emoji(), + AclMode::Allow.to_emoji(), results_html )) }