From 488c8df5cb2f2b06a127f2a2f835e36d31954324 Mon Sep 17 00:00:00 2001 From: Dillon Skaggs Date: Thu, 20 May 2021 11:43:28 -0700 Subject: [PATCH] feat(client/call): make pma-voice the default export (#232) - mumble-voip is no longer maintained and is recommended to not be used. --- resources/client/cl_call.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/client/cl_call.ts b/resources/client/cl_call.ts index 79e4a32..9445707 100644 --- a/resources/client/cl_call.ts +++ b/resources/client/cl_call.ts @@ -37,7 +37,7 @@ on(`__cfx_nui:${CallEvents.ACCEPT_CALL}`, (data: any, cb: Function) => { onNet( CallEvents.WAS_ACCEPTED, (channelId: number, currentCall: CallHistoryItem, isTransmitter: boolean) => { - exp['mumble-voip'].SetCallChannel(channelId); + exp['pma-voice'].setCallChannel(channelId); phoneCallStartAnim(); // Trigger call animation only if the call was accepted. SendNuiMessage( JSON.stringify({ @@ -90,7 +90,7 @@ on(`__cfx_nui:${CallEvents.END_CALL}`, (data: any, cb: Function) => { }); onNet(CallEvents.WAS_ENDED, () => { - exp['mumble-voip'].SetCallChannel(0); + exp['pma-voice'].setCallChannel(0); openCallModal(false); SendNuiMessage(