mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-11-03 19:14:03 +00:00 
			
		
		
		
	Add placeholder to delete legacy background image
This commit is contained in:
		@@ -17,6 +17,7 @@ import { FriendsHelper } from "./FriendsHelper";
 | 
			
		||||
import { GroupsHelper } from "./GroupsHelper";
 | 
			
		||||
import { NotificationsHelper } from "./NotificationsHelper";
 | 
			
		||||
import { AccountImageHelper } from "./AccountImageHelper";
 | 
			
		||||
import { BackgroundImageHelper } from "./BackgroundImageHelper";
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Account helper
 | 
			
		||||
@@ -479,6 +480,9 @@ export class AccountHelper {
 | 
			
		||||
		
 | 
			
		||||
		// Delete all the likes on the user page
 | 
			
		||||
		await LikesHelper.DeleteAll(userID, LikesType.USER);
 | 
			
		||||
		
 | 
			
		||||
		// Delete user background image
 | 
			
		||||
		await BackgroundImageHelper.Delete(userID);
 | 
			
		||||
		*/
 | 
			
		||||
 | 
			
		||||
		// TODO : continue work
 | 
			
		||||
 
 | 
			
		||||
@@ -13,4 +13,8 @@ export class BackgroundImageHelper {
 | 
			
		||||
		return pathUserData("imgfond/0.jpg");
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public static async Delete(userID: number) {
 | 
			
		||||
		// Currently, it is not planned to integrate background image anymore
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user