Set in_reply_to_account_id attribute for statuses from misskey

This change will make pleroma FE connected to calckey server show the
'Reply to' badge.
This commit is contained in:
fruye 2023-03-16 20:33:51 +01:00
parent 3ee59a7e4d
commit 748cdca02b

View file

@ -226,7 +226,7 @@ namespace MisskeyAPI {
url: n.uri ? n.uri : `https://${host}/notes/${n.id}`,
account: user(n.user),
in_reply_to_id: n.replyId,
in_reply_to_account_id: null,
in_reply_to_account_id: n.reply?.userId ?? null,
reblog: n.renote ? note(n.renote, host) : null,
content: n.text
? n.text