mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 03:11:38 +03:00
adding timestamp to comment parser to invalidate local vote map
This commit is contained in:
parent
00b3528eae
commit
81b460b838
@ -14,7 +14,7 @@ import {
|
||||
addDraft,
|
||||
updateDraft,
|
||||
getDrafts,
|
||||
addSchedule
|
||||
addSchedule,
|
||||
} from '../../../providers/ecency/ecency';
|
||||
import { toastNotification, setRcOffer } from '../../../redux/actions/uiAction';
|
||||
import {
|
||||
@ -726,7 +726,6 @@ class EditorContainer extends Component {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (currentAccount) {
|
||||
this.setState({
|
||||
isPostSending: true,
|
||||
|
@ -82,6 +82,9 @@ export const parseComments = async (comments) => {
|
||||
comment.markdownBody = get(comment, 'body');
|
||||
comment.body = renderPostBody(comment, true, webp);
|
||||
|
||||
//stamp comments with fetched time;
|
||||
comment.post_fetched_at = new Date().getTime();
|
||||
|
||||
return comment;
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user