mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 06:33:08 +02:00
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,
|
||||
emoji_reactions: typeof n.reactions === 'object' ? mapReactions(n.reactions, n.myReaction) : [],
|
||||
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