mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 05:39:52 -07:00
Remove trailing newlines in body (#125)
This commit is contained in:
parent
7c39e88ba2
commit
8d4539831f
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ impl ChatState {
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut msg = text_to_message(msg.to_string());
|
let mut msg = text_to_message(msg.trim_end().to_string());
|
||||||
|
|
||||||
if let Some((_, event_id)) = &self.editing {
|
if let Some((_, event_id)) = &self.editing {
|
||||||
msg.relates_to = Some(Relation::Replacement(Replacement::new(
|
msg.relates_to = Some(Relation::Replacement(Replacement::new(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue