Do not resume voice broadcasts on seek (#9686)
This commit is contained in:
parent
2d9fa81cf5
commit
f117548b38
2 changed files with 12 additions and 1 deletions
|
@ -387,7 +387,7 @@ export class VoiceBroadcastPlayback
|
|||
const offsetInChunk = time - this.chunkEvents.getLengthTo(event);
|
||||
await skipToPlayback.skipTo(offsetInChunk / 1000);
|
||||
|
||||
if (currentPlayback !== skipToPlayback) {
|
||||
if (this.state === VoiceBroadcastPlaybackState.Playing && !skipToPlayback.isPlaying) {
|
||||
await skipToPlayback.play();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue