app_queue.c: Only announce to head caller if announce_to_first_user

Only make announcements to head caller if announce_to_first_user is true

Fixes: #1568

UserNote: When announce_to_first_user is false, no announcements are played to the head caller
20
Kristian F. Høgh 2 months ago
parent b7c0df5563
commit f7bfb86e12

@ -9103,8 +9103,6 @@ check_turns:
goto stop;
}
}
}
makeannouncement = 1;
/* Make a periodic announcement, if enabled */
if (qe.parent->periodicannouncefrequency) {
@ -9112,6 +9110,7 @@ check_turns:
goto stop;
}
}
}
/* A request to withdraw this call from the queue arrived */
if (qe.withdraw) {

Loading…
Cancel
Save