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.

This commit is contained in:
NinekoTheCat 2023-12-24 20:36:45 +01:00
parent 474dea6beb
commit c8da248e0c
No known key found for this signature in database
GPG key ID: 700DB3F678A4AB66

View file

@ -1319,10 +1319,12 @@ impl Service {
RoomMessageEventContent::text_plain(format!( RoomMessageEventContent::text_plain(format!(
" "
List of services: \n List of services: \n
= blocked\n {} = blocked\n
= allowed\n {} = allowed\n
{} {}
", ",
AclMode::Block.to_emoji(),
AclMode::Allow.to_emoji(),
results_html results_html
)) ))
} }