Merge branch 'travis/sourcemaps' into travis/babel7-wp-es6-fixes

This commit is contained in:
Travis Ralston 2020-01-08 14:42:01 -07:00
commit 36b7be920b
13 changed files with 42 additions and 21 deletions

View file

@ -77,7 +77,7 @@ export function doesRoomHaveUnreadMessages(room) {
// that counts and we can stop looking because the user's read
// this and everything before.
return false;
} else if (!shouldHideEvent(ev) && this.eventTriggersUnreadCount(ev)) {
} else if (!shouldHideEvent(ev) && eventTriggersUnreadCount(ev)) {
// We've found a message that counts before we hit
// the user's read receipt, so this room is definitely unread.
return true;