mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-24 22:39:21 +00:00
Prepare for paths unification
This commit is contained in:
parent
622ea0099e
commit
cfb1bb4106
@ -14,8 +14,8 @@ export enum AccountImageVisibilityLevel {
|
|||||||
EVERYONE = "everyone"
|
EVERYONE = "everyone"
|
||||||
}
|
}
|
||||||
|
|
||||||
const defaultAccountImage = "0Reverse.png";
|
const defaultAccountImage = "avatars/0Reverse.png";
|
||||||
const errorAccountImage = "0Red.png";
|
const errorAccountImage = "avatars/0Red.png";
|
||||||
|
|
||||||
|
|
||||||
export enum UserPageStatus {
|
export enum UserPageStatus {
|
||||||
@ -141,7 +141,7 @@ export class User implements UserBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static pathForAccountImageFile(file : string, sysPath = false) : string {
|
private static pathForAccountImageFile(file : string, sysPath = false) : string {
|
||||||
return pathUserData("avatars/" + file, sysPath);
|
return pathUserData(file, sysPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user