work around history visibility roomsetting UI some more

This commit is contained in:
Matthew Hodgson 2016-01-22 17:01:15 +00:00
parent 38d5c7d5c5
commit 24225af416

View file

@ -980,11 +980,11 @@ module.exports = React.createClass({
);
}
// XXX: EVIL HACK: for now, don't let Vector clobber 'invite' visibility to 'join'
// just because it doesn't know about 'invite' yet. In future we should fix it
// XXX: EVIL HACK: for now, don't let Vector clobber 'joined' visibility to 'invited'
// just because it doesn't know about 'joined' yet. In future we should fix it
// properly - https://github.com/vector-im/vector-web/issues/731
if (old_history_visibility === "invited") {
old_history_visibility = "joined";
if (old_history_visibility === "joined") {
old_history_visibility = "invited";
}
var visibilityDeferred;