Updated call activity once receiving compound callsign

This commit is contained in:
Jordan Sherer 2018-07-24 03:07:36 -04:00
parent 01249bd115
commit 7aef92dd68

View File

@ -3328,6 +3328,14 @@ void MainWindow::readFromStdout() //readFromStdout
if(shouldProcessCompound && decodedtext.isCompoundMessage()){
QString compoundCall = decodedtext.compoundCall();
m_compoundCallCache[Radio::base_callsign(compoundCall)] = compoundCall;
CallDetail cd;
cd.call = compoundCall;
cd.grid = "";
cd.snr = decodedtext.snr();
cd.freq = decodedtext.frequencyOffset();
cd.utcTimestamp = QDateTime::currentDateTimeUtc();
m_callActivity[Radio::base_callsign(cd.call)] = cd;
}
}
}