1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-28 14:38:52 +00:00

Ready to implement the method to find a private conversation

This commit is contained in:
Pierre HUBERT 2020-06-18 09:06:59 +02:00
parent 174ed6244c
commit 2f571787a3
2 changed files with 7 additions and 0 deletions

View File

@ -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")
}

View File

@ -98,6 +98,8 @@ pub fn get_routes() -> Vec<Route> {
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)),