Merge pull request #10858 from mariogasparoni/v2.2.x-release
Set listenOnly to false when user left voice
This commit is contained in:
commit
468725c386
@ -919,6 +919,11 @@ public class MeetingService implements MessageListener {
|
|||||||
User vuser = m.userLeft(message.userId);
|
User vuser = m.userLeft(message.userId);
|
||||||
} else {
|
} else {
|
||||||
user.setVoiceJoined(false);
|
user.setVoiceJoined(false);
|
||||||
|
// userLeftVoice is also used when user leaves Global (listenonly)
|
||||||
|
// audio. Also tetting listenOnly to false is not a problem,
|
||||||
|
// once user can't join both voice/mic and global/listenonly
|
||||||
|
// at the same time.
|
||||||
|
user.setListeningOnly(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user