Don't use m.call for Jitsi video rooms (#8223)
This commit is contained in:
parent
ba71fb169f
commit
371ccd7858
11 changed files with 14 additions and 14 deletions
|
@ -73,7 +73,7 @@ describe("RoomTile", () => {
|
|||
|
||||
describe("video rooms", () => {
|
||||
const room = mkRoom(cli, "!1:example.org");
|
||||
room.isCallRoom.mockReturnValue(true);
|
||||
room.isElementVideoRoom.mockReturnValue(true);
|
||||
|
||||
it("tracks connection state", () => {
|
||||
const tile = mount(
|
||||
|
|
|
@ -367,7 +367,7 @@ export function mkStubRoom(roomId: string = null, name: string, client: MatrixCl
|
|||
getAvatarUrl: () => 'mxc://avatar.url/room.png',
|
||||
getMxcAvatarUrl: () => 'mxc://avatar.url/room.png',
|
||||
isSpaceRoom: jest.fn().mockReturnValue(false),
|
||||
isCallRoom: jest.fn().mockReturnValue(false),
|
||||
isElementVideoRoom: jest.fn().mockReturnValue(false),
|
||||
getUnreadNotificationCount: jest.fn(() => 0),
|
||||
getEventReadUpTo: jest.fn(() => null),
|
||||
getCanonicalAlias: jest.fn(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue