From 35139c6d84d2b33d6f1348fd2db4ebad728020cf Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Fri, 7 Sep 2018 17:33:28 -0400 Subject: [PATCH] Only issue a directed message alert for directed to me...not ALLCALL --- mainwindow.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 639f0b7..bbb898d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -9320,9 +9320,11 @@ void MainWindow::processCommandActivity() { {"UTC", QVariant(ad.utcTimestamp.toMSecsSinceEpoch())} }); - auto wav = m_config.sound_dm_path(); - if(!wav.isEmpty()){ - QSound::play(wav); + if(!isAllCall){ + auto wav = m_config.sound_dm_path(); + if(!wav.isEmpty()){ + QSound::play(wav); + } } }