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:
parent
174ed6244c
commit
2f571787a3
@ -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")
|
||||
}
|
@ -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)),
|
||||
|
Loading…
Reference in New Issue
Block a user