diff --git a/src/components/structures/TimelinePanel.js b/src/components/structures/TimelinePanel.js index 19adafbe4e..f0feaf94c5 100644 --- a/src/components/structures/TimelinePanel.js +++ b/src/components/structures/TimelinePanel.js @@ -452,12 +452,12 @@ var TimelinePanel = React.createClass({ // // We ignore events we have sent ourselves; we don't want to see the // read-marker when a remote echo of an event we have just sent takes - // more than the timeout on userRecentlyActive. + // more than the timeout on userActiveRecently. // const myUserId = MatrixClientPeg.get().credentials.userId; const sender = ev.sender ? ev.sender.userId : null; var callRMUpdated = false; - if (sender != myUserId && !UserActivity.sharedInstance().userRecentlyActive()) { + if (sender != myUserId && !UserActivity.sharedInstance().userActiveRecently()) { updatedState.readMarkerVisible = true; } else if (lastEv && this.getReadMarkerPosition() === 0) { // we know we're stuckAtBottom, so we can advance the RM