You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-06 10:22:45 +03:00
adjust room constructor
This commit is contained in:
@@ -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());
|
||||
});
|
||||
};
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user