mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 07:19:22 +00:00
Fix bad name
This commit is contained in:
parent
590aba0848
commit
d421b1d3ba
@ -24,7 +24,7 @@ pub struct ConversationMessageAPI {
|
|||||||
id: u64,
|
id: u64,
|
||||||
conv_id: u64,
|
conv_id: u64,
|
||||||
user_id: Option<u64>,
|
user_id: Option<u64>,
|
||||||
time_insert: u64,
|
time_sent: u64,
|
||||||
message: Option<String>,
|
message: Option<String>,
|
||||||
file: Option<ConversationMessageFileAPI>,
|
file: Option<ConversationMessageFileAPI>,
|
||||||
server_message: Option<serde_json::Value>,
|
server_message: Option<serde_json::Value>,
|
||||||
@ -81,7 +81,7 @@ impl ConversationMessageAPI {
|
|||||||
id: msg.id,
|
id: msg.id,
|
||||||
conv_id: msg.conv_id.id(),
|
conv_id: msg.conv_id.id(),
|
||||||
user_id: msg.user_id.clone().map(|u| u.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(),
|
message: msg.message.clone(),
|
||||||
file,
|
file,
|
||||||
server_message,
|
server_message,
|
||||||
|
Loading…
Reference in New Issue
Block a user