Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
pull/21833/head
J. Ryan Stinnett 2019-03-12 09:37:55 +00:00 committed by GitHub
parent ea01853233
commit 2d074d0de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ var TimelinePanel = React.createClass({
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