mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08: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:
parent
a787ee8480
commit
81bf2be13b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user