mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-25 23:09:22 +00:00
Fix bad name
This commit is contained in:
parent
590aba0848
commit
d421b1d3ba
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user