Make note of inconsistant roomReadMarkerTsMap

This will become redundant when there is server support for directionality of the RM
This commit is contained in:
Luke Barnard 2017-04-19 10:27:43 +01:00
parent a787ee8480
commit 81bf2be13b

View file

@ -478,6 +478,9 @@ var TimelinePanel = React.createClass({
if (ev.getType() !== "m.fully_read") return;
// XXX: roomReadMarkerTsMap not updated here so it is now inconsistent. Replace
// this mechanism of determining where the RM is relative to the view-port with
// one supported by the server (the client needs more than an event ID).
this.setState({
readMarkerEventId: ev.getContent().event_id,
}, this.props.onReadMarkerUpdated);