mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-29 16:56:28 +00:00
Ready to update conversation settings
This commit is contained in:
parent
b30dc049bf
commit
f3a96ffad1
@ -60,3 +60,8 @@ pub fn get_single(r: &mut HttpRequestHandler) -> RequestResult {
|
|||||||
|
|
||||||
r.set_response(ConversationAPI::new(&conv))
|
r.set_response(ConversationAPI::new(&conv))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Update the settings of a conversation
|
||||||
|
pub fn update_settings(r: &mut HttpRequestHandler) -> RequestResult {
|
||||||
|
r.success("implement it")
|
||||||
|
}
|
@ -96,6 +96,8 @@ pub fn get_routes() -> Vec<Route> {
|
|||||||
Route::post("/conversations/getInfoOne", Box::new(conversations_controller::get_single)),
|
Route::post("/conversations/getInfoOne", Box::new(conversations_controller::get_single)),
|
||||||
Route::post("/conversations/getInfosOne", Box::new(conversations_controller::get_single)),
|
Route::post("/conversations/getInfosOne", Box::new(conversations_controller::get_single)),
|
||||||
|
|
||||||
|
Route::post("/conversations/updateSettings", Box::new(conversations_controller::update_settings)),
|
||||||
|
|
||||||
|
|
||||||
// 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