mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Enable quotes in post
This commit is contained in:
parent
28a16e95a4
commit
07d51e10df
|
|
@ -506,8 +506,12 @@ export const statusToAPI = async (
|
|||
visibility: "public",
|
||||
url: `${config.http.base_url}/statuses/${status.id}`,
|
||||
bookmarked: false,
|
||||
quote: null,
|
||||
quote_id: undefined,
|
||||
quote: status.quotingPost
|
||||
? await statusToAPI(
|
||||
status.quotingPost as unknown as StatusWithRelations
|
||||
)
|
||||
: null,
|
||||
quote_id: status.quotingPost?.id || undefined,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue