feat(raise-hand) group options in config.js

This commit is contained in:
Mengyuan Liu
2024-08-09 02:39:55 -07:00
committed by GitHub
parent ce22adfe64
commit 8299aa498b
7 changed files with 75 additions and 5 deletions

View File

@@ -442,6 +442,12 @@ function _translateLegacyConfig(oldValue: IConfig) {
newValue.disabledSounds.unshift('INCOMING_MSG_SOUND');
}
newValue.raisedHands = newValue.raisedHands || {};
if (oldValue.disableRemoveRaisedHandOnFocus) {
newValue.raisedHands.disableRemoveRaisedHandOnFocus = oldValue.disableRemoveRaisedHandOnFocus;
}
if (oldValue.stereo || oldValue.opusMaxAverageBitrate) {
newValue.audioQuality = {
opusMaxAverageBitrate: oldValue.audioQuality?.opusMaxAverageBitrate ?? oldValue.opusMaxAverageBitrate,