mirror of https://github.com/vector-im/riot-web
Stop setting `auto_join` on space child events (#8863)
It's not a specified property and not even used.pull/28788/head^2
parent
9bbb29a1a2
commit
97a9af42d5
|
@ -316,11 +316,10 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
||||||
return [];
|
return [];
|
||||||
};
|
};
|
||||||
|
|
||||||
public addRoomToSpace(space: Room, roomId: string, via: string[], suggested = false, autoJoin = false) {
|
public addRoomToSpace(space: Room, roomId: string, via: string[], suggested = false) {
|
||||||
return this.matrixClient.sendStateEvent(space.roomId, EventType.SpaceChild, {
|
return this.matrixClient.sendStateEvent(space.roomId, EventType.SpaceChild, {
|
||||||
via,
|
via,
|
||||||
suggested,
|
suggested,
|
||||||
auto_join: autoJoin,
|
|
||||||
}, roomId);
|
}, roomId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue