1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 13:29:21 +00:00

Fix bad name

This commit is contained in:
Pierre HUBERT 2021-03-05 13:54:54 +01:00
parent 590aba0848
commit d421b1d3ba

View File

@ -24,7 +24,7 @@ pub struct ConversationMessageAPI {
id: u64,
conv_id: u64,
user_id: Option<u64>,
time_insert: u64,
time_sent: u64,
message: Option<String>,
file: Option<ConversationMessageFileAPI>,
server_message: Option<serde_json::Value>,
@ -81,7 +81,7 @@ impl ConversationMessageAPI {
id: msg.id,
conv_id: msg.conv_id.id(),
user_id: msg.user_id.clone().map(|u| u.id()),
time_insert: msg.time_sent,
time_sent: msg.time_sent,
message: msg.message.clone(),
file,
server_message,