From 97a9af42d527fc41738fc976ca9f20e71699fb58 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 27 Jun 2022 01:28:02 +0200 Subject: [PATCH] Stop setting `auto_join` on space child events (#8863) It's not a specified property and not even used. --- src/stores/spaces/SpaceStore.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stores/spaces/SpaceStore.ts b/src/stores/spaces/SpaceStore.ts index f00b527c1d..605e9d2a36 100644 --- a/src/stores/spaces/SpaceStore.ts +++ b/src/stores/spaces/SpaceStore.ts @@ -316,11 +316,10 @@ export class SpaceStoreClass extends AsyncStoreWithClient { 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); }