mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
fix(VoiceState): set streaming to false when the stream ended (#6992)
This commit is contained in:
@@ -83,7 +83,9 @@ class VoiceState extends Base {
|
|||||||
this.sessionId ??= null;
|
this.sessionId ??= null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('self_stream' in data) {
|
// The self_stream is property is omitted if false, check for another property
|
||||||
|
// here to avoid incorrectly clearing this when partial data is specified
|
||||||
|
if ('self_video' in data) {
|
||||||
/**
|
/**
|
||||||
* Whether this member is streaming using "Screen Share"
|
* Whether this member is streaming using "Screen Share"
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
|||||||
Reference in New Issue
Block a user