fixed small typo

This commit is contained in:
dj2ls 2022-06-09 14:14:31 +02:00
parent 1909087c6b
commit 532eeb0e12
3 changed files with 4 additions and 5 deletions

View file

@ -567,8 +567,8 @@ ipcMain.on('request-show-arq-toast-datachannel-opening',(event,data)=>{
}); });
// ARQ DATA CHANNEL OPEN // ARQ DATA CHANNEL OPEN
ipcMain.on('request-show-arq-toast-datachannel-open',(event,data)=>{ ipcMain.on('request-show-arq-toast-datachannel-opened',(event,data)=>{
win.webContents.send('action-show-arq-toast-datachannel-open', data); win.webContents.send('action-show-arq-toast-datachannel-opened', data);
}); });
// ARQ DATA RECEIVED OPENER // ARQ DATA RECEIVED OPENER

View file

@ -806,7 +806,6 @@ update_chat_obj_by_uuid = function(uuid) {
add_obj_to_database = function(obj){ add_obj_to_database = function(obj){
db.put({ db.put({
_id: obj.uuid, _id: obj.uuid,
_rev: doc._rev,
timestamp: obj.timestamp, timestamp: obj.timestamp,
uuid: obj.uuid, uuid: obj.uuid,
dxcallsign: obj.dxcallsign, dxcallsign: obj.dxcallsign,

View file

@ -298,8 +298,8 @@ client.on('data', function(socketdata) {
if (data['arq'] == 'transmission') { if (data['arq'] == 'transmission') {
// ARQ OPEN // ARQ OPEN
if (data['status'] == 'open') { if (data['status'] == 'opened') {
ipcRenderer.send('request-show-arq-toast-datachannel-open', {data: [data]}); ipcRenderer.send('request-show-arq-toast-datachannel-opened', {data: [data]});
// ARQ OPENING // ARQ OPENING
} else if (data['status'] == 'opening') { } else if (data['status'] == 'opening') {