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:
@@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user