fudge around https://github.com/vector-im/vector-web/issues/731
This commit is contained in:
parent
0bdd674f7f
commit
0bef94a6ce
1 changed files with 7 additions and 0 deletions
|
@ -980,6 +980,13 @@ 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
|
||||||
|
// properly - https://github.com/vector-im/vector-web/issues/731
|
||||||
|
if (old_history_visibility === "invited") {
|
||||||
|
old_history_visibility = "joined";
|
||||||
|
}
|
||||||
|
|
||||||
var visibilityDeferred;
|
var visibilityDeferred;
|
||||||
if (old_history_visibility != newVals.history_visibility &&
|
if (old_history_visibility != newVals.history_visibility &&
|
||||||
newVals.history_visibility != undefined) {
|
newVals.history_visibility != undefined) {
|
||||||
|
|
Loading…
Reference in a new issue