mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +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(
|
emitNet(
|
||||||
events.CONTACTS_ACTION_RESULT,
|
events.CONTACTS_ACTION_RESULT,
|
||||||
<<<<<<< HEAD
|
|
||||||
getSource(),
|
|
||||||
'CONTACT_UPDATE_SUCCESS'
|
|
||||||
=======
|
|
||||||
_source,
|
_source,
|
||||||
"CONTACT_UPDATE_SUCCESS"
|
"CONTACT_UPDATE_SUCCESS"
|
||||||
>>>>>>> 76aee07 (fix(contacts/client|server): fixed source for updating contacts)
|
|
||||||
);
|
);
|
||||||
console.log("UPDATED CONTACT: ", contact);
|
console.log("UPDATED CONTACT: ", contact);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
const _source = (global as any).source;
|
const _source = (global as any).source;
|
||||||
emitNet(
|
emitNet(
|
||||||
events.CONTACTS_ACTION_RESULT,
|
events.CONTACTS_ACTION_RESULT,
|
||||||
<<<<<<< HEAD
|
|
||||||
getSource(),
|
|
||||||
'CONTACT_UPDATE_FAILED'
|
|
||||||
=======
|
|
||||||
_source,
|
_source,
|
||||||
"CONTACT_UPDATE_FAILED"
|
"CONTACT_UPDATE_FAILED"
|
||||||
>>>>>>> 76aee07 (fix(contacts/client|server): fixed source for updating contacts)
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -94,12 +94,4 @@ export default {
|
|||||||
CONTACTS_ACTION_RESULT: 'phone:contactActionResult',
|
CONTACTS_ACTION_RESULT: 'phone:contactActionResult',
|
||||||
// copy
|
// copy
|
||||||
PHONE_USE_CLIPBOARD: 'phone:useClipboard',
|
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