From 3e38067561ccdfeef9f922fad69c9d846780f962 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 10 Oct 2018 13:35:52 -0400 Subject: [PATCH] Fixed incremental directed message receipt for ALLCALL and GROUPCALL --- mainwindow.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 6d99249..3893f49 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -8191,7 +8191,12 @@ void MainWindow::processRxActivity() { bool shouldDisplay = abs(d.freq - currentFreqOffset()) <= 10; int prevOffset = d.freq; - if(hasExistingMessageBuffer(d.freq, false, &prevOffset) && m_messageBuffer[prevOffset].cmd.to == m_config.my_callsign()){ + if(hasExistingMessageBuffer(d.freq, false, &prevOffset) && ( + (m_messageBuffer[prevOffset].cmd.to == m_config.my_callsign()) || + (isAllCallIncluded(m_messageBuffer[prevOffset].cmd.to) && !ui->selcalButton->isChecked()) || + (isGroupCallIncluded(m_messageBuffer[prevOffset].cmd.to) && abs(prevOffset - currentFreqOffset()) <= 125) + ) + ){ d.isBuffered = true; shouldDisplay = true; } else {