mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed small typo
This commit is contained in:
parent
1909087c6b
commit
532eeb0e12
3 changed files with 4 additions and 5 deletions
|
@ -567,8 +567,8 @@ ipcMain.on('request-show-arq-toast-datachannel-opening',(event,data)=>{
|
|||
});
|
||||
|
||||
// ARQ DATA CHANNEL OPEN
|
||||
ipcMain.on('request-show-arq-toast-datachannel-open',(event,data)=>{
|
||||
win.webContents.send('action-show-arq-toast-datachannel-open', data);
|
||||
ipcMain.on('request-show-arq-toast-datachannel-opened',(event,data)=>{
|
||||
win.webContents.send('action-show-arq-toast-datachannel-opened', data);
|
||||
});
|
||||
|
||||
// ARQ DATA RECEIVED OPENER
|
||||
|
|
|
@ -806,7 +806,6 @@ update_chat_obj_by_uuid = function(uuid) {
|
|||
add_obj_to_database = function(obj){
|
||||
db.put({
|
||||
_id: obj.uuid,
|
||||
_rev: doc._rev,
|
||||
timestamp: obj.timestamp,
|
||||
uuid: obj.uuid,
|
||||
dxcallsign: obj.dxcallsign,
|
||||
|
|
|
@ -298,8 +298,8 @@ client.on('data', function(socketdata) {
|
|||
if (data['arq'] == 'transmission') {
|
||||
|
||||
// ARQ OPEN
|
||||
if (data['status'] == 'open') {
|
||||
ipcRenderer.send('request-show-arq-toast-datachannel-open', {data: [data]});
|
||||
if (data['status'] == 'opened') {
|
||||
ipcRenderer.send('request-show-arq-toast-datachannel-opened', {data: [data]});
|
||||
|
||||
// ARQ OPENING
|
||||
} else if (data['status'] == 'opening') {
|
||||
|
|
Loading…
Reference in a new issue