mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-29 21:43:00 +00:00
Ready to implement
This commit is contained in:
parent
e71b5bcc83
commit
479caa3945
@ -154,4 +154,11 @@ pub fn find_private(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
}
|
||||
|
||||
r.set_response(ResFindPrivateConversations::new(list))
|
||||
}
|
||||
|
||||
/// DEPRECATED : refresh current user conversations
|
||||
///
|
||||
/// This method was used only by ComunicWeb before the introduction of WebSockets
|
||||
pub fn refresh_list(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
r.success("Can implement")
|
||||
}
|
@ -100,6 +100,8 @@ pub fn get_routes() -> Vec<Route> {
|
||||
|
||||
Route::post("/conversations/getPrivate", Box::new(conversations_controller::find_private)),
|
||||
|
||||
Route::post("/conversations/refresh", Box::new(conversations_controller::refresh_list)),
|
||||
|
||||
|
||||
// Virtual directory controller
|
||||
Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user