Implement sending quote posts

This commit is contained in:
tusooa 2023-07-12 21:34:19 -04:00
commit d72486f3e4
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
5 changed files with 85 additions and 4 deletions

View file

@ -827,6 +827,7 @@ const postStatus = ({
poll,
mediaIds = [],
inReplyToStatusId,
quoteId,
contentType,
preview,
idempotencyKey
@ -859,6 +860,9 @@ const postStatus = ({
if (inReplyToStatusId) {
form.append('in_reply_to_id', inReplyToStatusId)
}
if (quoteId) {
form.append('quote_id', quoteId)
}
if (preview) {
form.append('preview', 'true')
}