You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Make note of inconsistant roomReadMarkerTsMap
This will become redundant when there is server support for directionality of the RM
This commit is contained in:
@ -478,6 +478,9 @@ var TimelinePanel = React.createClass({
|
|||||||
|
|
||||||
if (ev.getType() !== "m.fully_read") return;
|
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({
|
this.setState({
|
||||||
readMarkerEventId: ev.getContent().event_id,
|
readMarkerEventId: ev.getContent().event_id,
|
||||||
}, this.props.onReadMarkerUpdated);
|
}, this.props.onReadMarkerUpdated);
|
||||||
|
Reference in New Issue
Block a user