1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Fix: conference rooms were no longer hidden

This commit is contained in:
David Baker
2016-09-05 17:42:22 +01:00
parent 31e09e6137
commit 50ef695740
2 changed files with 37 additions and 16 deletions

View File

@@ -221,7 +221,10 @@ module.exports = React.createClass({
if (me.membership == "invite") {
s.lists["im.vector.fake.invite"].push(room);
}
else if (MatrixTools.isDirectMessageRoom(room, me, self.props.ConferenceHandler, HIDE_CONFERENCE_CHANS)) {
else if (HIDE_CONFERENCE_CHANS && MatrixTools.isConfCallRoom(room, me, self.props.ConferenceHandler)) {
// skip past this room & don't put it in any lists
}
else if (MatrixTools.isDirectMessageRoom(room, me)) {
// "Direct Message" rooms
s.lists["im.vector.fake.direct"].push(room);
}