Prettified Code!

This commit is contained in:
itschip authored and Christopher committed 2021-01-17 20:13:46 +01:00
1 parent c35b5f2b84
commit c12b0ba126
2 files changed
-18

No files matched your search

-10
View File
@@ -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)
);
}
});
-8
View File
@@ -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)