Merge branch 'develop'

This commit is contained in:
syuilo 2023-01-22 17:30:12 +09:00
commit a35e0e9261
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "misskey",
"version": "13.1.5",
"version": "13.1.6",
"codename": "nasubi",
"repository": {
"type": "git",

View File

@ -32,8 +32,8 @@ export class EmojiEntityService {
name: emoji.name,
category: emoji.category,
host: opts.omitHost ? undefined : emoji.host,
// ?? emoji.originalUrl してるのは後方互換性のため
url: opts.withUrl ? (emoji.publicUrl ?? emoji.originalUrl) : undefined,
// || emoji.originalUrl してるのは後方互換性のためpublicUrlはstringなので??はだめ)
url: opts.withUrl ? (emoji.publicUrl || emoji.originalUrl) : undefined,
};
}