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
This commit is contained in:
Christopher committed 2021-01-31 16:08:12 +01:00
1 parent fe4c46e8ee
commit eaf764cd01
1 file changed
+1
+1
View File
@@ -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);
});