From 3b7a5357c7ac16ed19e2fd9e90f0ce19e51ec9c0 Mon Sep 17 00:00:00 2001 From: chip Date: Sat, 17 Oct 2020 00:18:06 +0200 Subject: [PATCH] Tweak(Events): Contacts NUI callback using the same event name as server-side event, idk why but it fixed the real-time thing --- resources/utils/events.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/utils/events.ts b/resources/utils/events.ts index e5424cb..ac53e6d 100644 --- a/resources/utils/events.ts +++ b/resources/utils/events.ts @@ -24,5 +24,6 @@ export default { CONTACTS_SEND_CONTACTS: 'phone:sendContacts', CONTACTS_GET_CONTACTS: 'phone:getContacts', CONTACTS_ADD_CONTACT_NUI: 'contacts:add', - CONTACTS_ADD_CONTACT: 'phone:addContacts' + CONTACTS_ADD_CONTACT: 'contacts:add', + CONTACTS_UPDATE_CONTACTS: 'phone:updateContacts' } \ No newline at end of file