mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Use new flag in js-sdk to look at the last read receipt the server actually has and ignore implicit ones, otherwise we can end up not sending an RR because we think there's already a more recent one, even though that one is implicit.
This commit is contained in:
parent
aef04d682b
commit
71e2495e81
1 changed files with 1 additions and 1 deletions
|
@ -1111,7 +1111,7 @@ module.exports = React.createClass({
|
|||
// the bottom of the room again, or something.
|
||||
if (!this.state.atEndOfLiveTimeline) return;
|
||||
|
||||
var currentReadUpToEventId = this.state.room.getEventReadUpTo(MatrixClientPeg.get().credentials.userId);
|
||||
var currentReadUpToEventId = this.state.room.getEventReadUpTo(MatrixClientPeg.get().credentials.userId, true);
|
||||
var currentReadUpToEventIndex = this._indexForEventId(currentReadUpToEventId);
|
||||
|
||||
// We want to avoid sending out read receipts when we are looking at
|
||||
|
|
Loading…
Reference in a new issue