From 5f0903bbd63a13f20227ab9cd15cd2094f8d8295 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 30 May 2023 11:23:08 -0600 Subject: [PATCH] Mark room version 10 as safe As should have been done a year ago. --- src/models/room.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/room.ts b/src/models/room.ts index f56d30629e4..04967091e80 100644 --- a/src/models/room.ts +++ b/src/models/room.ts @@ -72,8 +72,8 @@ import { isPollEvent, Poll, PollEvent } from "./poll"; // room versions which are considered okay for people to run without being asked // to upgrade (ie: "stable"). Eventually, we should remove these when all homeservers // return an m.room_versions capability. -export const KNOWN_SAFE_ROOM_VERSION = "9"; -const SAFE_ROOM_VERSIONS = ["1", "2", "3", "4", "5", "6", "7", "8", "9"]; +export const KNOWN_SAFE_ROOM_VERSION = "10"; +const SAFE_ROOM_VERSIONS = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]; interface IOpts { /**