1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-19 19:38:47 +00:00

Ready to start to delete user account

This commit is contained in:
2021-01-20 18:58:02 +01:00
parent 8253779725
commit f031f7b4b3
2 changed files with 20 additions and 3 deletions

View File

@@ -297,4 +297,15 @@ pub fn export(user_id: &UserID) -> ResultBoxError<AccountExport> {
}
Ok(data)
}
/// Delete a user's account
pub fn delete(user_id: &UserID) -> ResultBoxError {
// TODO : close all websockets of user
// TODO : Delete all group membership
// TODO : continue work here
Ok(())
}