1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-04 23:02:14 +03:00

Don't use m.call for Jitsi video rooms (#8223)

This commit is contained in:
Robin
2022-04-04 10:29:40 -04:00
committed by GitHub
parent ba71fb169f
commit 371ccd7858
11 changed files with 14 additions and 14 deletions

View File

@@ -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(

View File

@@ -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(),