fix: incorrect type for quote property

This commit is contained in:
Marie 2024-03-24 23:41:23 +00:00
parent 58bc8f2c10
commit 56b19ab6bb
2 changed files with 2 additions and 2 deletions

View file

@ -303,7 +303,7 @@ namespace MisskeyAPI {
pinned: null,
emoji_reactions: typeof n.reactions === 'object' ? mapReactions(n.reactions, n.myReaction) : [],
bookmarked: false,
quote: n.renote && n.text ? note(n.renote, n.user.host ? n.user.host : host ? host : null) : false
quote: n.renote && n.text ? note(n.renote, n.user.host ? n.user.host : host ? host : null) : null
}
}