feat(client/call): make pma-voice the default export (#232)

- mumble-voip is no longer maintained and is recommended to not be used.
This commit is contained in:
Dillon Skaggs authored and GitHub committed 2021-05-20 14:43:28 -04:00
1 parent 054f89c03d
commit 488c8df5cb
1 file changed
+2 -2
+2 -2
View File
@@ -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(