allow rooms we were banned from into Historical also

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2019-09-15 22:24:23 +01:00
parent 4fb4c5b744
commit 3fdaeea3a2
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 if (myMembership === 'leave') {
} else if (myMembership) { // null-guard as null means it was peeked
tags.push("im.vector.fake.archived");
}