From d421b1d3ba5f101de11bac3841fca1d9ebc54c10 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 5 Mar 2021 13:54:54 +0100 Subject: [PATCH] Fix bad name --- src/api_data/conversation_message_api.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api_data/conversation_message_api.rs b/src/api_data/conversation_message_api.rs index cc5f679..14eed26 100644 --- a/src/api_data/conversation_message_api.rs +++ b/src/api_data/conversation_message_api.rs @@ -24,7 +24,7 @@ pub struct ConversationMessageAPI { id: u64, conv_id: u64, user_id: Option, - time_insert: u64, + time_sent: u64, message: Option, file: Option, server_message: Option, @@ -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,