diff options
| author | shpuld <shp@cock.li> | 2018-12-28 21:44:09 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2018-12-28 21:44:09 +0200 |
| commit | 650655709dd617a558709ffbf8911f05f7c17267 (patch) | |
| tree | 5d87472d287b93bc845e442c91006070ef88f85d /src/services/api/api.service.js | |
| parent | 85c058e95c04245dacf3ffb6b45a6eceb3253e7b (diff) | |
| parent | a86b80b0544ca93a1b59ff521fd9b1e8bbc3f8c9 (diff) | |
fix conflict in user card content
Diffstat (limited to 'src/services/api/api.service.js')
| -rw-r--r-- | src/services/api/api.service.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index 182f9126..4ee95bd1 100644 --- a/src/services/api/api.service.js +++ b/src/services/api/api.service.js @@ -370,12 +370,13 @@ const unretweet = ({ id, credentials }) => { }) } -const postStatus = ({credentials, status, spoilerText, visibility, sensitive, mediaIds, inReplyToStatusId, contentType}) => { +const postStatus = ({credentials, status, spoilerText, visibility, sensitive, mediaIds, inReplyToStatusId, contentType, noAttachmentLinks}) => { const idsText = mediaIds.join(',') const form = new FormData() form.append('status', status) form.append('source', 'Pleroma FE') + if (noAttachmentLinks) form.append('no_attachment_links', noAttachmentLinks) if (spoilerText) form.append('spoiler_text', spoilerText) if (visibility) form.append('visibility', visibility) if (sensitive) form.append('sensitive', sensitive) |
