mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +03:00
fix: use empty string for messages without text everywhere
This commit is contained in:
@@ -502,7 +502,7 @@ impl<'a> Chat<'a> {
|
|||||||
timestamp,
|
timestamp,
|
||||||
msg.type_0,
|
msg.type_0,
|
||||||
msg.state,
|
msg.state,
|
||||||
msg.text,
|
msg.text.as_ref().map_or("", String::as_str),
|
||||||
msg.param.to_string(),
|
msg.param.to_string(),
|
||||||
msg.hidden,
|
msg.hidden,
|
||||||
to_string(new_in_reply_to),
|
to_string(new_in_reply_to),
|
||||||
|
|||||||
Reference in New Issue
Block a user