mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Make rageshake requests work in matryoshka mode
This commit is contained in:
parent
247ed95976
commit
9bdd5b0e58
@ -88,6 +88,7 @@ export const widget: WidgetHelpers | null = (() => {
|
||||
if (!baseUrl) throw new Error("Base URL must be supplied");
|
||||
|
||||
// These are all the event types the app uses
|
||||
const sendRecvEvent = ["org.matrix.rageshake_request"];
|
||||
const sendState = [
|
||||
{ eventType: EventType.GroupCallPrefix },
|
||||
{ eventType: EventType.GroupCallMemberPrefix, stateKey: userId },
|
||||
@ -113,6 +114,8 @@ export const widget: WidgetHelpers | null = (() => {
|
||||
const client = createRoomWidgetClient(
|
||||
api,
|
||||
{
|
||||
sendEvent: sendRecvEvent,
|
||||
receiveEvent: sendRecvEvent,
|
||||
sendState,
|
||||
receiveState,
|
||||
sendToDevice: sendRecvToDevice,
|
||||
|
Loading…
Reference in New Issue
Block a user