Fix references to 'this' in Avatar and Unread
This commit is contained in:
parent
4aec432b30
commit
206d4c78d2
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue