Prettified Code!

This commit is contained in:
DJ2LS 2023-05-14 20:47:46 +00:00 committed by GitHub Action
parent 285ad3684d
commit 24527e221c
2 changed files with 16 additions and 16 deletions

View file

@ -731,7 +731,7 @@ ipcRenderer.on("action-new-msg-received", (event, arg) => {
if (item.fec == "broadcast") { if (item.fec == "broadcast") {
obj.timestamp = Math.floor(Date.now() / 1000); obj.timestamp = Math.floor(Date.now() / 1000);
obj.dxcallsign = item.dxcallsign; obj.dxcallsign = item.dxcallsign;
obj.dxgrid = 'null'; obj.dxgrid = "null";
obj.uuid = uuidv4().toString(); obj.uuid = uuidv4().toString();
obj.command = "msg"; obj.command = "msg";
obj.checksum = "null"; obj.checksum = "null";
@ -742,7 +742,7 @@ ipcRenderer.on("action-new-msg-received", (event, arg) => {
obj.filename = "null"; obj.filename = "null";
obj.filetype = "null"; obj.filetype = "null";
obj.file = "null"; obj.file = "null";
console.log(obj) console.log(obj);
add_obj_to_database(obj); add_obj_to_database(obj);
update_chat_obj_by_uuid(obj.uuid); update_chat_obj_by_uuid(obj.uuid);