Skip to content

Commit 4bdb71f

Browse files
committed
Reduce diff 1
Signed-off-by: Šimon Brandner <[email protected]>
1 parent d9bd7be commit 4bdb71f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/webrtc/groupCallEventHandler.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
GroupCallIntent,
2222
GroupCallType,
2323
IGroupCallDataChannelOptions,
24-
IGroupCallRoomState,
2524
} from "./groupCall";
2625
import { Room } from "../models/room";
2726
import { RoomState, RoomStateEvent } from "../models/room-state";
@@ -143,7 +142,7 @@ export class GroupCallEventHandler {
143142

144143
private createGroupCallFromRoomStateEvent(event: MatrixEvent): GroupCall | undefined {
145144
const roomId = event.getRoomId();
146-
const content = event.getContent<IGroupCallRoomState>();
145+
const content = event.getContent();
147146

148147
const room = this.client.getRoom(roomId);
149148

0 commit comments

Comments
 (0)