Also trim colons

This commit is contained in:
ErrorNoInternet
2023-01-28 22:40:24 +08:00
parent 54679d5a52
commit 8d4b076eac

View File

@@ -117,6 +117,7 @@ async fn room_message_handler(
&text_content
.body
.trim_start_matches(&state.display_name)
.trim_start_matches(":")
.trim()
.to_string(),
&event.sender.to_string(),