You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +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