diff --git a/src/utils/membership.ts b/src/utils/membership.ts index 14a3ced739..68ac958490 100644 --- a/src/utils/membership.ts +++ b/src/utils/membership.ts @@ -91,7 +91,7 @@ export async function leaveRoomBehaviour(roomId: string) { } let results: { [roomId: string]: Error & { errcode: string, message: string } } = {}; - if (!leavingAllVersions || true) { + if (!leavingAllVersions) { try { await MatrixClientPeg.get().leave(roomId); } catch (e) {