about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-05-11 23:56:07 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-05-11 23:56:07 +0200
commitdd118449c2e131b49220f3d32c08f47a37ea9596 (patch)
tree0e771a13b933d1978890e169f4e5495efca20441 /app
parent6d44f2441bf2aa14d11e481d9d2cfe82a74d81ed (diff)
Fix incorrect reference to raw_content (it is raw_text instead) (#10753)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/reducers/compose.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/reducers/compose.js b/app/javascript/mastodon/reducers/compose.js
index 85cbdfb17..708272591 100644
--- a/app/javascript/mastodon/reducers/compose.js
+++ b/app/javascript/mastodon/reducers/compose.js
@@ -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'));