adjust room constructor

pull/21833/head
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

@ -84,7 +84,7 @@ ConferenceCall.prototype._getConferenceUserRoom = function() {
preset: "private_chat",
invite: [this.confUserId]
}).then(function(res) {
return new Room(res.room_id, client.getUserId());
return new Room(res.room_id, null, client.getUserId());
});
};

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);
}