Skip to content
Snippets Groups Projects
Commit 9e6ab577 authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Similar to voting, add a delay after a comment has been accepted so we...

[JES] Similar to voting, add a delay after a comment has been accepted so we get the most up to date info from hivemind. Not ideal but better than not seeing your edits
parent 2ad7970f
No related branches found
No related tags found
3 merge requests!146Develop,!145Jsalyers add delay to edit comment,!144Jsalyers add delay to edit comment
...@@ -387,7 +387,8 @@ function* broadcastPayload({ ...@@ -387,7 +387,8 @@ function* broadcastPayload({
function* accepted_comment({ operation }) { function* accepted_comment({ operation }) {
const { author, permlink } = operation; const { author, permlink } = operation;
// update again with new $$ amount from the steemd node //sleep for a few seconds so we can get the latest info from hivemind once it updates (this is a temporary workaround)
yield call(wait, 9000);
yield call(getContent, { author, permlink }); yield call(getContent, { author, permlink });
yield put(globalActions.linkReply(operation)); yield put(globalActions.linkReply(operation));
} }
......
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