mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
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:
1 parent
fe4c46e8ee
commit
eaf764cd01
1 file changed
+1
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user