Add local echo of connected devices in video rooms (#8368)

This commit is contained in:
Robin
2022-04-21 07:41:38 -04:00
committed by GitHub
parent 5d6143aaa7
commit c83ad1faa7
7 changed files with 126 additions and 43 deletions
+1
View File
@@ -379,6 +379,7 @@ export function mkStubRoom(roomId: string = null, name: string, client: MatrixCl
getJoinRule: jest.fn().mockReturnValue("invite"),
loadMembersIfNeeded: jest.fn(),
client,
myUserId: client?.getUserId(),
canInvite: jest.fn(),
} as unknown as Room;
}
+1 -1
View File
@@ -21,7 +21,7 @@ import { mkEvent } from "./test-utils";
import { VIDEO_CHANNEL_MEMBER } from "../../src/utils/VideoChannelUtils";
import VideoChannelStore, { VideoChannelEvent, IJitsiParticipant } from "../../src/stores/VideoChannelStore";
class StubVideoChannelStore extends EventEmitter {
export class StubVideoChannelStore extends EventEmitter {
private _roomId: string;
public get roomId(): string { return this._roomId; }
private _connected: boolean;