Also trim colons
This commit is contained in:
@@ -117,6 +117,7 @@ async fn room_message_handler(
|
|||||||
&text_content
|
&text_content
|
||||||
.body
|
.body
|
||||||
.trim_start_matches(&state.display_name)
|
.trim_start_matches(&state.display_name)
|
||||||
|
.trim_start_matches(":")
|
||||||
.trim()
|
.trim()
|
||||||
.to_string(),
|
.to_string(),
|
||||||
&event.sender.to_string(),
|
&event.sender.to_string(),
|
||||||
|
Reference in New Issue
Block a user