1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-21 21:09:22 +00:00

Prepare for paths unification

This commit is contained in:
Pierre HUBERT 2020-05-25 18:01:58 +02:00
parent 622ea0099e
commit cfb1bb4106

View File

@ -14,8 +14,8 @@ export enum AccountImageVisibilityLevel {
EVERYONE = "everyone"
}
const defaultAccountImage = "0Reverse.png";
const errorAccountImage = "0Red.png";
const defaultAccountImage = "avatars/0Reverse.png";
const errorAccountImage = "avatars/0Red.png";
export enum UserPageStatus {
@ -141,7 +141,7 @@ export class User implements UserBuilder {
}
private static pathForAccountImageFile(file : string, sysPath = false) : string {
return pathUserData("avatars/" + file, sysPath);
return pathUserData(file, sysPath);
}