Don't emit call queue length when idling

This commit is contained in:
Chrystian Huot 2020-06-08 11:17:10 -04:00
parent 14d1da280a
commit b40eb3405e

View file

@ -357,7 +357,9 @@ export class AppRdioScannerService implements OnDestroy {
if (call?.audio && this.liveFeedMap && this.liveFeedMap[sys] && this.liveFeedMap[sys][tg]) {
this.callQueue.push(call);
if (this.call) {
this.event.emit({ queue: this.callQueue.length });
}
this.play();
}