diff --git a/src/models/room.ts b/src/models/room.ts index 3c8e5adcd0b..cc0e43452fe 100644 --- a/src/models/room.ts +++ b/src/models/room.ts @@ -57,7 +57,7 @@ import { RelationsContainer } from "./relations-container"; // 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. -const KNOWN_SAFE_ROOM_VERSION = '9'; +export const KNOWN_SAFE_ROOM_VERSION = '9'; const SAFE_ROOM_VERSIONS = ['1', '2', '3', '4', '5', '6', '7', '8', '9']; function synthesizeReceipt(userId: string, event: MatrixEvent, receiptType: ReceiptType): MatrixEvent {