Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglijuan98 committed Oct 12, 2024
1 parent f504f9d commit c0a0c2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gallery/classroom/hx-chat/fcr-chatroom/store/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export class UserStore {

//用户信息转空的流
private userToEduStream(user: AgoraIMUserInfo): EduStream {
return new UseStream(new AgoraStream({
return new UserStream(new AgoraStream({
streamUuid: '',
streamName: '',
fromUser: {
Expand Down Expand Up @@ -401,7 +401,7 @@ export class UserStore {
return AgoraRteMediaSourceState.started === stream?.audioSourceState && AgoraRteMediaPublishState.Published === stream?.audioState;
}
}
class UseStream extends EduStream{
class UserStream extends EduStream{
get isLocal(): boolean {
return false
}
Expand Down
4 changes: 3 additions & 1 deletion src/gallery/classroom/vote/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ export class PluginStore {
const { userUuid } = this._widget.classroomConfig.sessionInfo;
if (value instanceof Set && value?.has(userUuid)) {
this.setBoardEditOpen(true);
} else this.setBoardEditOpen(false);
} else {
this.setBoardEditOpen(false);
}
}
});

Expand Down

0 comments on commit c0a0c2c

Please sign in to comment.