mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Prettified Code!
This commit is contained in:
parent
2f64aa9279
commit
1f7cab31a6
1 changed files with 5 additions and 7 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue