Skip to content
Snippets Groups Projects
Commit dd118449 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Fix incorrect reference to raw_content (it is raw_text instead) (#10753)

parent 6d44f244
No related branches found
No related tags found
No related merge requests found
......@@ -331,7 +331,7 @@ export default function compose(state = initialState, action) {
}));
case REDRAFT:
return state.withMutations(map => {
map.set('text', action.raw_content || 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('privacy', action.status.get('visibility'));
map.set('media_attachments', action.status.get('media_attachments'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment