1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-09-20 14:18:47 +00:00

Get the list of custom emojies

This commit is contained in:
2020-04-03 16:43:38 +02:00
parent 131735a5f0
commit 6559c3b910
5 changed files with 54 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
* @author Pierre Hubert
*/
import { pathUserData } from "../utils/UserDataUtils";
export interface CustomEmojiBuilder {
id: number,
userID: number,
@@ -23,4 +25,8 @@ export class CustomEmoji implements CustomEmojiBuilder {
this[key] = info[key];
}
}
get url() : string {
return pathUserData(this.path, false);
}
}