Skip to content

Commit

Permalink
Mark room versions 7, 8, and 9 as safe
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronraimist committed Apr 25, 2022
1 parent 1bb8210 commit 4128c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import { TypedEventEmitter } from "./typed-event-emitter";
// to upgrade (ie: "stable"). Eventually, we should remove these when all homeservers
// return an m.room_versions capability.
const KNOWN_SAFE_ROOM_VERSION = '6';
const SAFE_ROOM_VERSIONS = ['1', '2', '3', '4', '5', '6'];
const SAFE_ROOM_VERSIONS = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];

function synthesizeReceipt(userId: string, event: MatrixEvent, receiptType: string): MatrixEvent {
// console.log("synthesizing receipt for "+event.getId());
Expand Down

0 comments on commit 4128c5a

Please sign in to comment.