PSK spots clock skew

merge-requests/96/head
Tag 2021-05-09 12:31:55 -07:00
rodzic df54f3ce90
commit 7ecf3a0252
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -15980,10 +15980,7 @@ function pskSpotCheck(timeSec)
if (myDEcall == null || myDEcall == "NOCALL" || myDEcall == "") return;
if (
timeSec - g_receptionReports.lastDownloadTimeSec > 120 &&
(g_spotsEnabled == 1 || g_rosterSpot)
)
if ((g_spotsEnabled == 1 || g_rosterSpot) && (timeSec - g_receptionReports.lastDownloadTimeSec > 120 || g_receptionReports.lastDownloadTimeSec > timeSec))
{
g_receptionReports.lastDownloadTimeSec = timeSec;
localStorage.receptionSettings = JSON.stringify(g_receptionSettings);