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
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

View file

@ -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,

View file

@ -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') {