mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-10 22:56:27 +02:00
fudge around https://github.com/vector-im/vector-web/issues/731
This commit is contained in:
parent
0bdd674f7f
commit
0bef94a6ce
@ -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;
|
||||
if (old_history_visibility != newVals.history_visibility &&
|
||||
newVals.history_visibility != undefined) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user