Make note of inconsistant roomReadMarkerTsMap

This will become redundant when there is server support for directionality of the RM
pull/21833/head
Luke Barnard 2017-04-19 10:27:43 +01:00
parent a787ee8480
commit 81bf2be13b
1 changed files with 3 additions and 0 deletions

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);