fix(VoiceState): event return VS#streaming incorrect

fix #1236
This commit is contained in:
Elysia
2024-09-17 20:41:54 +07:00
parent fb510d9bf5
commit 4e09cdf68c

View File

@@ -86,7 +86,7 @@ class VoiceState extends Base {
// 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_stream' in data) {
if ('self_video' in data) {
/**
* Whether this member is streaming using "Screen Share"
* @type {boolean}