From 7435b24af8235c43ec48105c6b30f58425567b78 Mon Sep 17 00:00:00 2001 From: Sebastian Delmont Date: Fri, 17 Jun 2022 08:07:04 -0400 Subject: [PATCH 1/3] Consider "RR73" as equivalent to calling CQ --- package.nw/lib/gt.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.nw/lib/gt.js b/package.nw/lib/gt.js index 39e9a258..c207b2ef 100644 --- a/package.nw/lib/gt.js +++ b/package.nw/lib/gt.js @@ -6957,7 +6957,6 @@ function handleWsjtxDecode(newMessage) theTimeStamp = timeNowSec() - (timeNowSec() % 86400) + parseInt(newMessage.TM / 1000); var messageColor = "white"; - if (CQ == true) messageColor = "cyan"; // Break up the decoded message var decodeWords = newMessage.Msg.split(" ").slice(0, 5); @@ -7003,6 +7002,7 @@ function handleWsjtxDecode(newMessage) CQ = true; msgDXcallsign = "CQ"; } + if (decodeWords.length == 4 && CQ == true) { msgDXcallsign += " " + decodeWords[1]; @@ -7023,6 +7023,12 @@ function handleWsjtxDecode(newMessage) msgDEcallsign = decodeWords[1]; } + if (decodeWords[2] == "RR73") + { + CQ = true; + msgDXcallsign = "RR73"; + } + var callsign = null; var hash = msgDEcallsign + newMessage.OB + newMessage.OM; From 434cb2dcfba8c9b7e56c24879405ca2f60099500 Mon Sep 17 00:00:00 2001 From: Sebastian Delmont Date: Mon, 27 Jun 2022 20:22:51 -0400 Subject: [PATCH 2/3] POTA bug was stopping roster from listing calls --- package.nw/lib/gt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.nw/lib/gt.js b/package.nw/lib/gt.js index c207b2ef..c9a52fb5 100644 --- a/package.nw/lib/gt.js +++ b/package.nw/lib/gt.js @@ -7228,7 +7228,7 @@ function handleWsjtxDecode(newMessage) } } - if (callsign.pota == null && g_potaSpots.some(item => item.activator === callsign.DEcall)) + if (callsign.pota == null && g_potaSpots && g_potaSpots.some(item => item.activator === callsign.DEcall)) { callsign.pota = g_potaSpots.filter(item => item.activator === callsign.DEcall)[0]; } From 1a16503347a8687f2eeec4f1f903017f51977950 Mon Sep 17 00:00:00 2001 From: Sebastian Delmont Date: Fri, 1 Jul 2022 18:30:50 -0400 Subject: [PATCH 3/3] POTA bug --- package.nw/lib/roster/processRosterFiltering.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.nw/lib/roster/processRosterFiltering.js b/package.nw/lib/roster/processRosterFiltering.js index 513caaee..b4fcd8dd 100644 --- a/package.nw/lib/roster/processRosterFiltering.js +++ b/package.nw/lib/roster/processRosterFiltering.js @@ -50,8 +50,10 @@ function processRosterFiltering(callRoster, rosterSettings) entry.tx = true; if (callObj.pota == null) { - callObj.pota.reference = "?-????"; - callObj.pota.name = "Unknown Park"; + callObj.pota = { + reference: "?-????", + name: "Unknown Park" + } } continue; }