Also trim colons
This commit is contained in:
parent
54679d5a52
commit
8d4b076eac
@ -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(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user