mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-10 15:02:05 +02: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:
parent
67089cb527
commit
29c2bd3d18
@ -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;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user