Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
This commit is contained in:
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

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