When replying to status with content warning, prefill content warning
This commit is contained in:
parent
ad1af951fb
commit
a9303e7062
3 changed files with 9 additions and 2 deletions
|
@ -79,7 +79,7 @@ export function submitCompose() {
|
|||
media_ids: getState().getIn(['compose', 'media_attachments']).map(item => item.get('id')),
|
||||
sensitive: getState().getIn(['compose', 'sensitive']),
|
||||
spoiler_text: getState().getIn(['compose', 'spoiler_text'], ''),
|
||||
visibility: getState().getIn(['compose', 'private']) ? 'private' : (getState().getIn(['compose', 'unlisted']) ? 'unlisted' : 'public')
|
||||
visibility: getState().getIn(['compose', 'privacy'])
|
||||
}).then(function (response) {
|
||||
dispatch(submitComposeSuccess({ ...response.data }));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue