mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
Prettified Code!
This commit is contained in:
1 parent
c35b5f2b84
commit
c12b0ba126
2 files changed
-18
No files matched your search
@@ -109,26 +109,16 @@ onNet(events.CONTACTS_UPDATE_CONTACT, async (contact: Contacts) => {
|
||||
|
||||
emitNet(
|
||||
events.CONTACTS_ACTION_RESULT,
|
||||
<<<<<<< HEAD
|
||||
getSource(),
|
||||
'CONTACT_UPDATE_SUCCESS'
|
||||
=======
|
||||
_source,
|
||||
"CONTACT_UPDATE_SUCCESS"
|
||||
>>>>>>> 76aee07 (fix(contacts/client|server): fixed source for updating contacts)
|
||||
);
|
||||
console.log("UPDATED CONTACT: ", contact);
|
||||
} catch (error) {
|
||||
const _source = (global as any).source;
|
||||
emitNet(
|
||||
events.CONTACTS_ACTION_RESULT,
|
||||
<<<<<<< HEAD
|
||||
getSource(),
|
||||
'CONTACT_UPDATE_FAILED'
|
||||
=======
|
||||
_source,
|
||||
"CONTACT_UPDATE_FAILED"
|
||||
>>>>>>> 76aee07 (fix(contacts/client|server): fixed source for updating contacts)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -94,12 +94,4 @@ export default {
|
||||
CONTACTS_ACTION_RESULT: 'phone:contactActionResult',
|
||||
// copy
|
||||
PHONE_USE_CLIPBOARD: 'phone:useClipboard',
|
||||
<<<<<<< HEAD
|
||||
};
|
||||
=======
|
||||
|
||||
// calling
|
||||
PHONE_BEGIN_CALL: 'phone:beginCall',
|
||||
PHONE_START_CALL: 'phone:startCall'
|
||||
}
|
||||
>>>>>>> 4823deb (fix(calling/server|client): fixed events issue | updated calling server)
|
||||
Reference in new issue
Block a user