1
0

upd: apply host to alot of fields

This commit is contained in:
Mar0xy
2023-09-25 02:40:04 +02:00
parent 1b9897f83b
commit df62b3786a
5 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ namespace MisskeyAPI {
id: n.id,
uri: n.uri ? n.uri : host ? `https://${host}/notes/${n.id}` : '',
url: n.url ? n.url : host ? `https://${host}/notes/${n.id}` : '',
account: user(n.user, host ? host : null),
account: user(n.user, n.user.host ? n.user.host : host ? host : null),
in_reply_to_id: n.replyId,
in_reply_to_account_id: null,
reblog: n.renote ? note(n.renote) : null,