enhance: convert svg to png of custom emojis
This commit is contained in:
parent
43baafbebb
commit
eec7e6500e
12 changed files with 49 additions and 59 deletions
|
|
@ -45,8 +45,9 @@ export default define(meta, async (ps, me) => {
|
|||
category: null,
|
||||
host: null,
|
||||
aliases: [],
|
||||
url: file.url,
|
||||
type: file.type,
|
||||
originalUrl: file.url,
|
||||
publicUrl: file.webpublicUrl ?? file.url,
|
||||
type: file.webpublicType ?? file.type,
|
||||
}).then(x => Emojis.findOneOrFail(x.identifiers[0]));
|
||||
|
||||
await getConnection().queryResultCache!.remove(['meta_emojis']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue