From eaf764cd0164428b96c2486e9b1335c26e322415 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sun, 31 Jan 2021 16:08:12 +0100 Subject: [PATCH] feat(phone/client): fetch contacts on dailer This is for knowing if the contact exist, so we can show the name or the phone number, and NOT open the contacts page first --- resources/client/cl_main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/client/cl_main.ts b/resources/client/cl_main.ts index bec1490..c99da94 100644 --- a/resources/client/cl_main.ts +++ b/resources/client/cl_main.ts @@ -353,6 +353,7 @@ on(`__cfx_nui:${events.OPEN_APP_CAMERA}`, () => { RegisterNuiCallbackType(events.OPEN_APP_DAILER); on(`__cfx_nui:${events.OPEN_APP_DAILER}`, () => { + emitNet(events.CONTACTS_GET_CONTACTS); emitNet(events.PHONE_CALL_FETCH_CALLS); });