Merge pull request #3445 from matrix-org/t3chguy/nvl/historical_preview

Only put a room in Historical if === 'leave' not peeked
pull/21833/head
Michael Telatynski 2019-09-17 10:56:46 +01:00 committed by GitHub
commit 2a67970d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ class RoomListStore extends Store {
} else if (tags.length === 0) {
tags.push("im.vector.fake.recent");
}
} else {
} else if (myMembership) { // null-guard as null means it was peeked
tags.push("im.vector.fake.archived");
}