Merge pull request #165 from matrix-org/dbkr/read_receipt_send_ignore_implicit
Fix stuck notification bug
This commit is contained in:
commit
d7b3a24c18
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.
|
// the bottom of the room again, or something.
|
||||||
if (!this.state.atEndOfLiveTimeline) return;
|
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);
|
var currentReadUpToEventIndex = this._indexForEventId(currentReadUpToEventId);
|
||||||
|
|
||||||
// We want to avoid sending out read receipts when we are looking at
|
// We want to avoid sending out read receipts when we are looking at
|
||||||
|
|
Loading…
Reference in a new issue