mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 07:19:22 +00:00
Delete user account image when deleting user account
This commit is contained in:
parent
f7a2623951
commit
93a0fd53c2
@ -333,6 +333,9 @@ pub fn delete(user_id: &UserID) -> ResultBoxError {
|
||||
// Delete all user friends, including friendship requests
|
||||
friends_helper::delete_all_user(user_id)?;
|
||||
|
||||
// Delete user account image
|
||||
delete_account_image(user_id)?;
|
||||
|
||||
// TODO : continue work here
|
||||
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user