This commit is contained in:
mattyatea 2023-10-16 21:46:52 +09:00
parent c59a31375e
commit 81ee7d9938
No known key found for this signature in database
GPG key ID: 068E54E2C33BEF9A
2 changed files with 5 additions and 2 deletions

View file

@ -127,6 +127,9 @@ export class CustomEmojiService implements OnApplicationShutdown {
isSensitive: data.isSensitive,
localOnly: data.localOnly,
draft: data.draft,
originalUrl: data.driveFile != null ? data.driveFile.url : undefined,
publicUrl: data.driveFile != null ? (data.driveFile.webpublicUrl ?? data.driveFile.url) : undefined,
type: data.driveFile != null ? (data.driveFile.webpublicType ?? data.driveFile.type) : undefined,
roleIdsThatCanBeUsedThisEmojiAsReaction: data.roleIdsThatCanBeUsedThisEmojiAsReaction ?? undefined,
});