reset last_rr_sent on error

Indicate that setting the RR was a failure and that hitting the API should be retried (in the case where the errcode !== "M_UNRECOGNISED")
This commit is contained in:
Luke Barnard 2017-04-21 16:46:36 +01:00
parent 67089cb527
commit 29c2bd3d18

View file

@ -546,6 +546,7 @@ var TimelinePanel = React.createClass({
});
}
// it failed, so allow retries next time the user is active
this.last_rr_sent_event_id = undefined;
this.last_rm_sent_event_id = undefined;
});