mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-03 07:10:26 +00:00
Fixup reaction toggle button
This commit is contained in:
@@ -32,6 +32,7 @@ export function getBasicCallViewModelEnvironment(
|
||||
handRaisedSubject: BehaviorSubject<Record<string, RaisedHandInfo>>;
|
||||
reactionsSubject: BehaviorSubject<Record<string, ReactionInfo>>;
|
||||
} {
|
||||
const matrixRoomId = "!myRoomId:example.com";
|
||||
const matrixRoomMembers = new Map(members.map((p) => [p.userId, p]));
|
||||
const remoteParticipants = of([aliceParticipant]);
|
||||
const liveKitRoom = mockLivekitRoom(
|
||||
@@ -51,6 +52,7 @@ export function getBasicCallViewModelEnvironment(
|
||||
off: vitest.fn(),
|
||||
} as Partial<MatrixClient> as MatrixClient,
|
||||
getMember: (userId) => matrixRoomMembers.get(userId) ?? null,
|
||||
roomId: matrixRoomId,
|
||||
});
|
||||
|
||||
const remoteRtcMemberships = new BehaviorSubject<CallMembership[]>(
|
||||
|
||||
Reference in New Issue
Block a user