mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
work around history visibility roomsetting UI some more
This commit is contained in:
parent
38d5c7d5c5
commit
24225af416
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue