Stop setting auto_join on space child events (#8863)
It's not a specified property and not even used.
This commit is contained in:
@@ -316,11 +316,10 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
||||
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, {
|
||||
via,
|
||||
suggested,
|
||||
auto_join: autoJoin,
|
||||
}, roomId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user