Skip to content

Commit

Permalink
Mark room version 10 as safe (#3425)
Browse files Browse the repository at this point in the history
As should have been done a year ago.
  • Loading branch information
turt2live authored May 31, 2023
1 parent 56c5375 commit 648a1a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down

0 comments on commit 648a1a0

Please sign in to comment.