1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

adjust room constructor

This commit is contained in:
Bruno Windels
2018-08-07 15:33:37 +02:00
parent 1f8e3e5d43
commit 90fc15ff3e
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ function generateRoomId() {
describe('RoomList', () => {
function createRoom(opts) {
const room = new Room(generateRoomId(), client.getUserId());
const room = new Room(generateRoomId(), null, client.getUserId());
if (opts) {
Object.assign(room, opts);
}