yangjie #22

Merged
yangqiang merged 99 commits from yangjie into master 2024-10-22 16:11:46 +08:00
1 changed files with 7 additions and 4 deletions
Showing only changes of commit cfd0d1ceef - Show all commits

View File

@ -379,10 +379,7 @@ const Meeting: React.FC = () => {
usernames.push(user.userName);
}
})
channel.postMessage({
type: 'currentSpeakUser',
currentSpeakUser: usernames,
});
storage.setItem('currentSpeakUser', JSON.stringify(usernames))
return res
});
@ -1648,6 +1645,12 @@ const Meeting: React.FC = () => {
case 'meetingMode':
setMeetingMode(e.value)
break;
case 'currentSpeakUser':
channel.postMessage({
type: 'currentSpeakUser',
currentSpeakUser: JSON.parse(e.value),
});
break;
case 'quitMeeting':
if (e.value) {
setQuitMeetingModal(true)