diff --git a/src/controllers/conversations_controller.rs b/src/controllers/conversations_controller.rs index 930e735..7060ba1 100644 --- a/src/controllers/conversations_controller.rs +++ b/src/controllers/conversations_controller.rs @@ -126,4 +126,9 @@ pub fn update_settings(r: &mut HttpRequestHandler) -> RequestResult { } r.success("Conversation information successfully updated!") +} + +/// Find a private conversation +pub fn find_private(r: &mut HttpRequestHandler) -> RequestResult { + r.success("implement it") } \ No newline at end of file diff --git a/src/controllers/routes.rs b/src/controllers/routes.rs index d43472a..9c0e5ca 100644 --- a/src/controllers/routes.rs +++ b/src/controllers/routes.rs @@ -98,6 +98,8 @@ pub fn get_routes() -> Vec { Route::post("/conversations/updateSettings", Box::new(conversations_controller::update_settings)), + Route::post("/conversations/getPrivate", Box::new(conversations_controller::find_private)), + // Virtual directory controller Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),