Skip to content

Commit

Permalink
Room version 6 is now a thing
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Jan 4, 2021
1 parent c16b093 commit 5b73bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ import {ReEmitter} from '../ReEmitter';
// 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 = '5';
const SAFE_ROOM_VERSIONS = ['1', '2', '3', '4', '5'];
const KNOWN_SAFE_ROOM_VERSION = '6';
const SAFE_ROOM_VERSIONS = ['1', '2', '3', '4', '5', '6'];

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

0 comments on commit 5b73bf3

Please sign in to comment.