From c9542816e48d8add3720f1935c093935c583dc39 Mon Sep 17 00:00:00 2001 From: Sven Sauleau Date: Thu, 2 Feb 2023 11:57:05 +0000 Subject: [PATCH] use originalObjectId for inReplyTo --- functions/api/v1/statuses.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/api/v1/statuses.ts b/functions/api/v1/statuses.ts index 447b450..52764ea 100644 --- a/functions/api/v1/statuses.ts +++ b/functions/api/v1/statuses.ts @@ -84,7 +84,7 @@ export async function handleRequest( const extraProperties: any = {} if (inReplyToObject !== null) { - extraProperties.inReplyTo = inReplyToObject.id.toString() + extraProperties.inReplyTo = inReplyToObject.originalObjectId || inReplyToObject.id.toString() } const domain = new URL(request.url).hostname