mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-20 16:45:16 +00:00
Can change group logo
This commit is contained in:
@ -96,6 +96,13 @@ export class GroupInfo implements GroupInfoConstructor {
|
||||
return pathUserData(this.logoPath, false);
|
||||
}
|
||||
|
||||
get logoSysPath() : string {
|
||||
if(!this.hasLogo)
|
||||
throw Error("The group has no logo!");
|
||||
|
||||
return pathUserData(this.logoPath, true);
|
||||
}
|
||||
|
||||
get hasDescription() : boolean {
|
||||
return this.description && true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user