From a532cc5cf9ae6716c782e7f36fd08f5d1c99be9a Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Sun, 2 Jun 2019 23:36:02 -0600 Subject: [PATCH] Add v4 as a safe room version It's listed as stable in the spec, and this is for our fallback. --- src/models/room.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/room.js b/src/models/room.js index ec3ffb764..d9d73e6bc 100644 --- a/src/models/room.js +++ b/src/models/room.js @@ -39,7 +39,7 @@ import ReEmitter from '../ReEmitter'; // to upgrade (ie: "stable"). Eventually, we should remove these when all homeservers // return an m.room_versions capability. const KNOWN_SAFE_ROOM_VERSION = '1'; -const SAFE_ROOM_VERSIONS = ['1', '2', '3']; +const SAFE_ROOM_VERSIONS = ['1', '2', '3', '4']; function synthesizeReceipt(userId, event, receiptType) { // console.log("synthesizing receipt for "+event.getId());