mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-01 00:18:50 +00:00
Ready to implement the method to find a private conversation
This commit is contained in:
parent
174ed6244c
commit
2f571787a3
@ -127,3 +127,8 @@ pub fn update_settings(r: &mut HttpRequestHandler) -> RequestResult {
|
|||||||
|
|
||||||
r.success("Conversation information successfully updated!")
|
r.success("Conversation information successfully updated!")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Find a private conversation
|
||||||
|
pub fn find_private(r: &mut HttpRequestHandler) -> RequestResult {
|
||||||
|
r.success("implement it")
|
||||||
|
}
|
@ -98,6 +98,8 @@ pub fn get_routes() -> Vec<Route> {
|
|||||||
|
|
||||||
Route::post("/conversations/updateSettings", Box::new(conversations_controller::update_settings)),
|
Route::post("/conversations/updateSettings", Box::new(conversations_controller::update_settings)),
|
||||||
|
|
||||||
|
Route::post("/conversations/getPrivate", Box::new(conversations_controller::find_private)),
|
||||||
|
|
||||||
|
|
||||||
// Virtual directory controller
|
// Virtual directory controller
|
||||||
Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),
|
Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),
|
||||||
|
Loading…
Reference in New Issue
Block a user