You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
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:
@ -546,6 +546,7 @@ var TimelinePanel = React.createClass({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
// it failed, so allow retries next time the user is active
|
// 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;
|
this.last_rm_sent_event_id = undefined;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user