mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Don't emit call queue length when idling
This commit is contained in:
parent
14d1da280a
commit
b40eb3405e
|
|
@ -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);
|
||||
|
||||
this.event.emit({ queue: this.callQueue.length });
|
||||
if (this.call) {
|
||||
this.event.emit({ queue: this.callQueue.length });
|
||||
}
|
||||
|
||||
this.play();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue