You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-05 17:02:07 +03:00
Flag v3 rooms as safe
The spec says they are, so we might as well too.
This commit is contained in:
@@ -38,7 +38,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'];
|
||||
const SAFE_ROOM_VERSIONS = ['1', '2', '3'];
|
||||
|
||||
function synthesizeReceipt(userId, event, receiptType) {
|
||||
// console.log("synthesizing receipt for "+event.getId());
|
||||
|
||||
Reference in New Issue
Block a user