Prettified Code!

This commit is contained in:
DJ2LS 2023-03-22 22:03:52 +00:00 committed by GitHub Action
parent 2f64aa9279
commit 1f7cab31a6

View file

@ -1355,14 +1355,12 @@ update_chat = function (obj) {
console.log("Removed message " + obj._id.toString()); console.log("Removed message " + obj._id.toString());
// stop transmission if deleted message is still in progress // stop transmission if deleted message is still in progress
if(obj.status == "transmitting"){ if (obj.status == "transmitting") {
let Data = { let Data = {
command: "stop_transmission", command: "stop_transmission",
}; };
ipcRenderer.send("run-tnc-command", Data); ipcRenderer.send("run-tnc-command", Data);
} }
}); });
//scrollMessagesToBottom(); //scrollMessagesToBottom();
} }