fix: resolve host properly
This commit is contained in:
parent
b0b96f00b9
commit
dd72610daa
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ namespace MisskeyAPI {
|
||||||
pinned: null,
|
pinned: null,
|
||||||
emoji_reactions: typeof n.reactions === 'object' ? mapReactions(n.reactions, n.myReaction) : [],
|
emoji_reactions: typeof n.reactions === 'object' ? mapReactions(n.reactions, n.myReaction) : [],
|
||||||
bookmarked: false,
|
bookmarked: false,
|
||||||
quote: n.renote && n.text ? note(n.renote, host) : false
|
quote: n.renote && n.text ? note(n.renote, n.user.host ? n.user.host : host ? host : null) : false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue