mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-12-25 13:08:51 +00:00
Prepare for paths unification
This commit is contained in:
parent
622ea0099e
commit
cfb1bb4106
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user