1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-27 22:18:51 +00:00

Delete user account image when deleting user account

This commit is contained in:
Pierre HUBERT 2021-01-21 18:58:31 +01:00
parent f7a2623951
commit 93a0fd53c2

View File

@ -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(())