mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 07:19:22 +00:00
Fix issue in conversation creation
This commit is contained in:
parent
8ba47aa0df
commit
bb6fa6954f
@ -19,7 +19,6 @@ use crate::utils::user_data_utils::delete_user_data_file_if_exists;
|
||||
pub fn create(conv: &NewConversation) -> Res<ConvID> {
|
||||
// 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())
|
||||
|
Loading…
Reference in New Issue
Block a user