Tweak some tests

This commit is contained in:
Michael Telatynski 2021-04-23 12:19:08 +01:00
parent a38419defb
commit a12cefee8e
3 changed files with 7 additions and 8 deletions

View file

@ -45,7 +45,7 @@ export function eventTriggersUnreadCount(ev) {
}
export function doesRoomHaveUnreadMessages(room) {
const myUserId = MatrixClientPeg.get().credentials.userId;
const myUserId = MatrixClientPeg.get().getUserId();
// get the most recent read receipt sent by our account.
// N.B. this is NOT a read marker (RM, aka "read up to marker"),