Skip to content

Commit

Permalink
Merge pull request Joystream#21 from siman/alex-fix-edit-post
Browse files Browse the repository at this point in the history
Fix edit_post_text
  • Loading branch information
bedeho committed Jun 17, 2019
2 parents 92c7624 + 483ef3d commit 53984ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ decl_module! {
};

// Set current text to new text
post.current_text = new_text;
p.current_text = new_text;

// Copy current text to history of expired texts
p.text_change_history.push(expired_post_text);
Expand Down

0 comments on commit 53984ca

Please sign in to comment.