From bb6fa6954fa06a2b4f7317f0987df30954925eb2 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 6 Mar 2021 18:52:12 +0100 Subject: [PATCH] Fix issue in conversation creation --- src/helpers/conversations_helper.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/helpers/conversations_helper.rs b/src/helpers/conversations_helper.rs index 02606ab..4a6537f 100644 --- a/src/helpers/conversations_helper.rs +++ b/src/helpers/conversations_helper.rs @@ -19,7 +19,6 @@ use crate::utils::user_data_utils::delete_user_data_file_if_exists; pub fn create(conv: &NewConversation) -> Res { // Create the conversation in the main table let conv_id = InsertQuery::new(CONV_LIST_TABLE) - .add_user_id("user_id", &conv.owner_id) .add_str("name", conv.name.clone().unwrap_or(String::new()).as_str()) .add_u64("last_activity", time()) .add_u64("creation_time", time())