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:
@@ -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(())
|
||||
}
|
Reference in New Issue
Block a user