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

Only put a room in Historical if === 'leave' not peeked
This commit is contained in:
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

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");
}