Merge branch 'redraft-remove-media' into 'develop'
Remove broken media upload from Del & Redraft composer See merge request soapbox-pub/soapbox-fe!150
This commit is contained in:
commit
767a491aa9
1 changed files with 2 additions and 1 deletions
|
@ -337,7 +337,8 @@ export default function compose(state = initialState, action) {
|
||||||
map.set('text', action.raw_text || unescapeHTML(expandMentions(action.status)));
|
map.set('text', action.raw_text || unescapeHTML(expandMentions(action.status)));
|
||||||
map.set('in_reply_to', action.status.get('in_reply_to_id'));
|
map.set('in_reply_to', action.status.get('in_reply_to_id'));
|
||||||
map.set('privacy', action.status.get('visibility'));
|
map.set('privacy', action.status.get('visibility'));
|
||||||
map.set('media_attachments', action.status.get('media_attachments'));
|
// TODO: Actually fix this rather than just removing it
|
||||||
|
// map.set('media_attachments', action.status.get('media_attachments'));
|
||||||
map.set('focusDate', new Date());
|
map.set('focusDate', new Date());
|
||||||
map.set('caretPosition', null);
|
map.set('caretPosition', null);
|
||||||
map.set('idempotencyKey', uuid());
|
map.set('idempotencyKey', uuid());
|
||||||
|
|
Loading…
Reference in a new issue