1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00
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

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